DEV Community

Discussion on: Redux: Use const for Action Types

Collapse
 
markerikson profile image
Mark Erikson

FWIW, FCC's Redux course is unfortunately outdated (as are many other tutorials online).

It'll help teach you the basics, but "modern Redux" with Redux Toolkit is a lot simpler and easier to learn. In fact, with Redux Toolkit you don't have to write any action types or action creators yourself. RTK's createSlice API generates those for you automatically behind the scenes.

See our official Redux docs tutorials:

redux.js.org/tutorials/index