News for hackers. Stuff that matters.
Re:Relay Hooks: Improved React APIs for Relay by SoftwarePatent on Tuesday March 09, 2021 @12:35PM (#26401203)
> 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.

Re:Relay Hooks: Improved React APIs for Relay by hermitwriter on Tuesday March 09, 2021 @01:10PM (#26401623)
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

Re:Relay Hooks: Improved React APIs for Relay by zingplex on Tuesday March 09, 2021 @02:04PM (#26402450)