bigpipe / bigpipe.js

The client-side library which is used in BigPipe to orchestrate the pagelets.
MIT License
20 stars 6 forks source link

Pagelet should load assets while waiting for parent #7

Open 3rd-Eden opened 10 years ago

3rd-Eden commented 10 years ago

Currently when there is not parent pagelet available the pagelet will wait until the render call of the parent pagelet is emitted. When the render event is emitted it will start downloading it's own contents and display.

We should instead be loading our assets right away while the parent is still loading so that when the parent arrives we can render our pagelet directly after it's rendered.