Y
Hacker News
new
|
ask
|
show
|
jobs
by
cotelletta
2612 days ago
React hooks is the closest you'll get in practice, once you factor in async, layout measurements and other practical things. But useState is pretty much just imgui with built in getters/setters rather than external state.