How does Vite compile JSX in development?
Advertisements I’m new to backend. I want to make a server serves up a React app, without using Vite (or CRA). On front-end I’m using React, on back-end I’m using nodemon + express. I’m confused about how JSX got understood on the browser. This is my index.html: <body> <div id="root"></div> <script type="module" src="/src/main.jsx"></script> </body> When… Read More How does Vite compile JSX in development?