Difficulty: 5/10action creators, redux, async actionsAn action creator is a function that creates and returns an action object. We typically use these so we don't have to write the action object every time we need it:Here is an example of action creator:CopyScenario Questions0-2 years experience1How would you write an action creator that adds a new todo item to the Redux store?2If you dispatch an action creator that returns an object with a typo in the type field, what will the reducer see?3What fields must the object returned by an action creator contain for Redux to process it?2-5 years experience1Follow-up QuestionsCan you walk me through what happens after you dispatch an action creator?What are the trade‑offs between returning a plain object versus a thunk?How would you unit‑test an action creator in isolation?Suggest Improvement