Demonstrate how to use webpack and react together
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

React Webpack Example

Very simple and not yet complete example on how to use Webpack together with React.

Use case:

Present greeting cards to user :-)

Sample Application

You can find a running example of the app's latest version here:

Features shown so far:


  • npm install: To install all dependencies
  • npm run devserver: to start Webpack development server
  • Point your browser to http://localhost:8080 and enjoy greeting cards :-)
  • Change some CSS or JavaScript files and see modifications on the fly. No reloading is necessary. React state will be preserved during reloads.

Blog post

This example application is part of a (german) blog post, that I've written about React and Webpack. You can find the blog post on the german React community site