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:

  1. npm i @babel/core babel-loader @babel/preset-env @babel/preset-react — save-dev
{
"presets": ["@babel/preset-env", "@babel/preset-react"]
}

    Javier Eduardo Treviño

    Written by

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade