This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Using TypeScript string literals or constants for action.type to enable autocomplete and catch typos at compile time.
You've completed the free preview. Subscribe to unlock every lesson in every course.