- Client Side Rendering vs Server Sider Rendering
import
syntax- babel
- webpack
- single source of truth
- client side view framework
- uses virtual DOM
- single source of truth
- used for managing state
Action
- an event, of the form
{ type, payload }
- actions are dispatched by actionCreators
Reducer
- a pure function, listens for actions
reducer :: (previousState, action) -> newState
- 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