I learned React from the glitch examples (thanks!), and I’m working to expand my understanding.
Early on, I decided that webpack was a real drag for development (at least on glitch), since it made refreshes so slow (I had to wait for webpack to do its thing for several seconds after every small change). So I switched to using Babel in the browser. However, once I get closer to releasing something into production, I know I still need to use webpack.
To that end, I created two sample projects and tried to make them as similar as possible with the only difference being babel vs webpack:
My question: anyone know off the top of their head how to enable the newer ecmascript 6 features in the webpack version (notice that Button.jsx isn’t included in that one)? If not, I’ll figure it out, but I’m trying to bask in the sunshine of the broader glitch community’s knowledge if possible