I'm a developer and consultant focused primarily on the web, specializing in Ruby on Rails, PostgreSQL, TypeScript, and React. Newsletter: https://visualmode.kit.com/newsletter
Without Step 4, I got a pretty obscure error about needing to add @babel/plugin-transform-react-jsx to the plugins section of my Babel config in order to get support for the experimental syntax that is 'jsx'.
Adding .babelrc with the specified preset fixed it. Thanks for documenting these steps!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Without Step 4, I got a pretty obscure error about needing to add
@babel/plugin-transform-react-jsxto the plugins section of my Babel config in order to get support for the experimental syntax that is 'jsx'.Adding
.babelrcwith the specified preset fixed it. Thanks for documenting these steps!