web icon indicating copy to clipboard operation
web copied to clipboard

Use defer: true instead type: :module on javascript_include_tag "application"

Open stephannv opened this issue 11 months ago • 0 comments

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.

stephannv avatar Feb 18 '25 18:02 stephannv