RyanLin82 / reactfrontend

0 stars 0 forks source link

before redux #29

Open RyanLin82 opened 4 years ago

RyanLin82 commented 4 years ago

the reason why we need redux

RyanLin82 commented 4 years ago
  1. EmployeeContainer has two functional components which are EmployeeInfo and EmployeeSalary.
  2. In EmployeeInfo, printing EmployeeContainer's employee information and there is a function which is used for adding employee.
  3. EmployeeSalary can increase the salary