News for hackers. Stuff that matters.
Re:UI = F(statesⁿ) by ape_key on Saturday February 17, 2024 @02:11AM (#39407146)
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

There are no comments on this comment yet.