Y
Hacker News
new
|
ask
|
show
|
jobs
by
nathan_f77
3360 days ago
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.