RyanLin82 / reactfrontend

0 stars 0 forks source link

basic redux example #30

Open RyanLin82 opened 4 years ago

RyanLin82 commented 4 years ago
  1. store
  2. action
  3. reducer
RyanLin82 commented 4 years ago
  1. index.js
  2. actions (calculatesalary.js)
  3. reducers (calculatesalary.js)
  4. main component (/Components/CalculateSalary.js)

There are three examples(steps) in this commit.

  1. step1 basic dispatch event and get redux data
  2. initialize redux state
  3. redux object state