Log in Sign up
Discussion Shopify

Rendering a React App inside a Shopify Section. Root element not found?

Tom Security
Tom Security
0 reputation
3 weeks ago 55 views 3 replies
Been struggling with this for a bit. Any suggestions?

Question: Rendering a React App inside a Shopify Section. Root element not found?

2 Replies

John Desktop
John Desktop · 3 weeks ago
Make sure the `div` ID in liquid matches the `ReactDOM.render` target.
Mike SEO
Mike SEO · 3 weeks ago
Use `document.addEventListener('DOMContentLoaded', ...)`.

You must be logged in to reply.

Log In to Reply