I haven't thought about using typescript in react. While prop types and typescript seem to be doing the same thing, typescript also supports interfaces.
By defining interfaces you can ensure that some components will not miss the props that they need.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I haven't thought about using typescript in react. While prop types and typescript seem to be doing the same thing, typescript also supports interfaces.
By defining interfaces you can ensure that some components will not miss the props that they need.