bamlab / typescript-patterns

3 stars 0 forks source link

How to type your redux actions ? #1

Open Samox opened 5 years ago

Samox commented 5 years ago

Problem: Create a new action might be cumbersome Problem: How to type your props coming from the mapDispatchToProps ?

The standard must answer these question: How to type an action Creator ? How to type in the .container ? How to type in the .component ?