support for the experimental syntax 'jsx isn't currently enabledsupport for the experimental syntax 'jsx isn't currently enabled

options: { presets: [@babel/preset-env, @babel/preset-react] }, 4. Like this . Im using yarn workspace and CRA as one of the workspaces. Understand that English isn't everyone's first language so be lenient of bad For the people who are getting this error while building Remix app, change the extension of file from .js to .jsx/.tsx or check with tsconfig file. After a whole week of dead-end encounters with deprecated packages and advice, I learned it turns out you don't need react-app-rewired at all. Save my name, email, and website in this browser for the next time I comment. In this example, an event handler is established so that clicking a button starts I must have tried tons of different ways. Sharing what worked for me. Do take note of the versions, different versions might need tweaks. My react