gajus / usus

Webpage pre-rendering service. ⚡️

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow to signal that page has completed rendering

gajus opened this issue · comments

Waiting n seconds is rather inefficient.

In addition to waiting mechanism, allow to signal completion of rendering using console.log, e.g. wait for "ūsus-ready" message.

Any updates on this issue? Prerender.io uses the window.prerenderReady variable, which is super helpful

It is a simple PR to make.