Course contentsShow
React
Lesson 764 of 2,39620. useReducerPro lesson

String Literal Types for Action Types

Using TypeScript string literals or constants for action.type to enable autocomplete and catch typos at compile time.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.