web
web copied to clipboard
Use defer: true instead type: :module on javascript_include_tag "application"
Related: https://github.com/ruby-ui/web/pull/163
Uncaught (in promise) TypeError: map3.get is not a function
After some research, I found that changing the type attribute of the javascript_include_tag from defer to module resolves this issue. While this eliminates the error, the glitch persisted.