Support for the experimental syntax ‘jsx’ isn’t currently enabled

Just create a .babelrc file in the root of your project and add:

{
  "presets": ["@babel/preset-env", "@babel/preset-react"]
}

Leave a Comment