Between reinventing the wheel to make your own Webpack build of a React app, and using a "starter kit" or template, there is this option.
I think this make it easier to wrap your head around the meat of what Webpack does.
- Start with a bare-bones working Webpack configuration, that builds a working React app you can see right away.
- Make incremental tweaks and additions to learn-as-you-go.
Because gists cannot show directory structure, I could not show that you put the app.js
file in a subdirectory named src/
.