How to get React.JS to work Live
-
1. I was able to get JSX up and running on my local wordpress version no problem, I put the scripts in the top part of the body (not the head) react, react-dom, babel, and loaded via functions.php.
2. I use inmotionhosting right now, shared hosting (and I’m not sure if this is a problem since I’ve heard node.js is a requirement and inmotion shared hosting doesn’t come with/support node)
3. I uploaded locally and my React page isn’t working.What do I need to get React.JS working live?
UPDATE: This is resolved. The problem was related to URLs not matching live the same as local.
The topic ‘How to get React.JS to work Live’ is closed to new replies.