Sep 3, 2018 · 1 min read
Thank you so much for the article , it’s very useful to keep learning JS. One thing though, it seems like the syntax has changed since the release of this article, the Babel packages have now different names and the babel config file too is a bit different:
- npm i @babel/core babel-loader @babel/preset-env @babel/preset-react — save-dev
{
"presets": ["@babel/preset-env", "@babel/preset-react"]
}