I'm a freelance web developer and Rubyist. I'm the author of The Rails and Hotwire Codex (https://railsandhotwirecodex.com) and the co-host of Just A Spec.
That's a bit weird .... I think what could be happening is the document hasn't been written when the component is initialized .... maybe try adding defer to your script tag and see if that does anything?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
That's a bit weird .... I think what could be happening is the document hasn't been written when the component is initialized .... maybe try adding
defer
to your script tag and see if that does anything?