Hacker News new | ask | show | jobs
by vlucas 1808 days ago
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.