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

Yep, and that was always the advice from the React team. "Don't use legacy context directly in your apps. Libraries may need to use it. If you _need_ to use it, wrap it up in a HOC or something so that you can update it in one place later."



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

Search: