InterviewSolution
| 1. |
Explain Action’s In Redux? |
|
Answer» Actions in REDUX are functions which return an ACTION object. The action type and the action data are packed in the action object. which also ALLOWS a donor to be added to the system. Actions send data between the store and application. All information’s retrieved by the store are produced by the actions. export function addDonorAction(donor) { return { type: actionTypes.add Donor, donor, }; } Internal Actions are built on TOP of Javascript objects and associate a type property to it. Actions in Redux are functions which return an action object. The action type and the action data are packed in the action object. which also allows a donor to be added to the system. Actions send data between the store and application. All information’s retrieved by the store are produced by the actions. export function addDonorAction(donor) { return { type: actionTypes.add Donor, donor, }; } Internal Actions are built on top of Javascript objects and associate a type property to it. |
|