Join the Webstudio community

Updated 4 weeks ago

Minified React error

Hello. Why sometimes I get this error and my custom code stops working?
Uncaught Error: Minified React error #418; visit https://react.dev/errors/418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

I have some GSAP animations on page
B
b
O
9 comments
Try to enable Client only flag in html embed
I had my code in page settings.
Now I transfered in on canvas into embed and seems like it worked out
What's the code, mind pasting it here?
I am hosting my code on slater.app and first time I pasted link to page settings code field and got that errors.
Now I tried to paste link to code embed on the page and turned on Client only flag. Seems like it helped
sure, I am just curious what was breaking it, because we are observing it some times and need to think of something that will work for everything
that should have errored also without minified error
you are accessing dom elements from the head when they aren't there yet
Yeah I missed that description in prject setting that it's a head code. I thought it's a footer code like in webflow. Now I understand source of errors
Add a reply
Sign up and join the conversation on Discord