Answer the question
In order to leave comments, you need to log in
How to type a component that inherits from another component?
I'm trying to type props, but my component is inheriting from another, generic component.
Also, the question is, is it better to type props from redax in mapStateToProps, or can they be typed right there, as I'm trying to do now?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question