Y
Hacker News
new
|
ask
|
show
|
jobs
by
benbristow
1798 days ago
Or you just use React and it has that function already built for you...
All you need to do is call setState
1 comments
marcosdumay
1797 days ago
You certainly doesn't mean that React has your business rules builtin.
link
benbristow
1797 days ago
No, but it'll deal with changing the UI depending on your state once you've wired the rules in.
link