What is an action in Redux?
Actions are the plain JavaScript objects which contain a type field. Action can be considered as an event that can describe something that has happened in the application.
Always remember actions should contain a small amount of information that is needed to mention what has happened.
Also Read: Next js Interview Questions
BY Best Interview Question ON 31 May 2021
Example
const addTodoAction = {
type: 'ADD',
payload: 'Buy-milk'
}