fac-react
v1.0.0
Published
this package to create React + Redux + React Router + Sass app with the FAC folder structure
Downloads
12
Readme
React + Redux + React Router + Sass
If you're not sure what any of the above things are, google them.
Folder structure
Try to understand the folder structure:
- actions
- functions which are called from your components
- these functions dispatch
actions
- related to redux
- assets
- static files such as icons, graphics, logos
- components
- react components
- constants
- action types
- reducers
- functions which listen for
actions
return a new state - related to redux
- functions which listen for
- styles
- css/sass
How to run this app
Dev
- Clone this repo
- run
npm install
- run
npm run dev:build
this bundles and watches the react app
- in another terminal tab, run
npm run dev:start
this runs and watches the server