Redux Cycle

Action Creator (User)-> Action(Form) -> dispatch(Form handler) -> Reducers(Departments) -> State(Compiled shared department data)

Analogy, Insurance Company:

policy: Customer holds a policy, if bad stuff happens to them then we pay them
claim: Customer had something bad happen to them, we need to pay them.

Customer signs up for a Policy -> Form ->
Form Receiver, takes copies and send it to ->
Form -> Claims history – stores a list of all claims ever made
Form -> Policies – Stores a list of who has a policy with our insurance company
Form -> Accounting – Stores a big bag of cash we pay people from this.

Accounting <-> Department data
Policies <-> Department Data
Claims history <-> Department Data

Add your comment