Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Only if you're constrained by the existing API of hooks. Preact signals is a good example of how class components could have been improved with reactivity:

https://twitter.com/_developit/status/1567272951136788481



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: