https://github.com/oncomouse/react-chartkick-example
https://github.com/oncomouse/react-chartkick-example
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/oncomouse/react-chartkick-example
- Owner: oncomouse
- Created: 2018-01-02T19:10:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-02T19:10:15.000Z (over 8 years ago)
- Last Synced: 2025-01-21T15:48:41.558Z (over 1 year ago)
- Language: JavaScript
- Size: 61.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# react-redux-webpack-starter
This is my starter app for React, Redux, and Webpack. It includes [redux-saga](https://github.com/redux-saga/redux-saga) for side effects, including calls to APIs. It also includes support for a [persistent](https://github.com/rt2zz/redux-persist-immutable), [immutable](https://github.com/facebook/immutable-js/) store. You can use [CSS modules](https://github.com/css-modules/css-modules) or [styled-components](https://www.styled-components.com/).
There are branches available for developing with [preact](https://preactjs.com/) (using `preact-compat`) for faster sites. The branch `preact` has the same support as the main branch. The branch `preact-no-immutable` cuts out support for Immutable, which adds a lot of overhead (especially when persisting Immutable Redux stores). The latter branch is the fastest, leanest version of this starter pack.
## Installation
Run `npm install` to install packages. `npm run start` starts webpack-dev-server. `npm run build` will produce a production version of the app.
## Customizing
In `webpack.config.js`, set the variable `APP_TITLE` to the name of the application. This will set the cache key for redux persistence and the HTML title for the landing page (which you can change using [react-helmet](https://github.com/nfl/react-helmet), if you install it).
## Debugging
`npm run analyze`
Also: `env NODE_ENV=production webpack --json > stats.json` and upload to [Webpack Visualizer](https://chrisbateman.github.io/webpack-visualizer/)