Hacker News new | past | comments | ask | show | jobs | submit login

That's true, but I think that's a very good thing. It can be very useful to define "StateTypes", as well as PropTypes. I think I've caught more than a few bugs by defining types for my state.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: