Not being able to render my React app
I don't why but I felt like trying to setup a minimal React setup using Babel. I created the HTML and added both the
Here is the repo: https://github.com/ubmit/barebones-react-experiment
script
tag to load the output from babel and the div
with id root to be used as the entrypoint for React. However, things aren't working somehow 🫠The JS is being loaded by the browser but nothing is rendered somehow.
It seems like I missed something simple that I'm not being able to spot. Can someone help me finding it, please? 
GitHub
GitHub - ubmit/barebones-react-experiment: 🔬
🔬. Contribute to ubmit/barebones-react-experiment development by creating an account on GitHub.
2 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
thanks for checking! @kapobajza I ended up using esbuild instead of babel, since the problem was that I just transforming JSX into JS but not bundling it
forgot to close the thread though 😬