Hacker News new | ask | show | jobs
by jain_chirag04 1809 days ago
Can you share what you guys used for hydrating on demand as you scroll?
1 comments

We custom wrote our own Babel plugin + some runtime functions that handle this. It changes the way we import our components and we have to choose async vs. server rendered component at import time, so that is the main trade-off.

We will be sharing more about this approach along with an open source library soon. We have been working on it for the better part of a year.