|
|
|
|
|
by ape_key
860 days ago
|
|
Yeah it’s more useful to think of unvalidated state and validated state. Use different types if you can. What I don’t care about is if the state is from a prop, a value inside a DOM object, a global… If I have to know where the state comes from, the code is smelly |
|