Hacker News new | past | comments | ask | show | jobs | submit login

> Context, Provider, and hooks

Which is the biggest foot gun I've seen in my life.

There is a surprisingly high number of developer that still don't get it and will make those beautiful applications where, thanks to a naive usage of this, will create applications that rerender the entire application on every keystroke.




Yes, which you can fix by moving a singular key of the context to component state. The beauty of hooks.




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

Search: