+1 vote
in Redux by
What is Dispatch?

1 Answer

0 votes
by
Dispatch is a method which triggers action with type and payload to Reducer.

store.dispatch()

store.dispatch({

  type: "SET_LANGUAGE",

  lang_code: "hi"

});

Related questions

0 votes
asked Sep 13, 2023 in Operating System by rajeshsharma
0 votes
asked Mar 9, 2022 in Magneto by sharadyadav1986
...