Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin
Relay Hooks: Improved React APIs for Relay (facebook.com)
13 points by dvinnik on March 9, 2021 | hide | past | favorite | 3 comments


> In addition, the new APIs allow developers to more quickly show content to users by starting to fetch data before a component renders. Prefetching data in this way is not possible with the container-based APIs.

This is fantastic, prefetching can make for a great user experience.


yeah good point. I've used this on a project and this shaved off >150ms of critical path rendering... much better user experience.

awesome to not have this officially supported. Time to upgrade :D





Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: