News for hackers. Stuff that matters.
Re:We increased our Lighthouse score by making our images la... by jain_chirag04 on Tuesday July 06, 2021 @08:37PM (#27756096)
Can you share what you guys used for hydrating on demand as you scroll?
Re:We increased our Lighthouse score by making our images la... by vlucas on Thursday July 08, 2021 @11:49AM (#27773579)
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.