You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf(website): Defer Demo playground hydration without SSG code loss (#4030)
* perf(website): Mount only the selected Demo playground
Avoid hydrating Monaco and DataProvider for every protocol tab on the
homepage. Align CodeProvider tab sync with Docusaurus and fix
useTabStorage double-prefixing localStorage keys.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix(website): Keep Demo protocols mounted for SSG, defer hydration
Restore mounting all protocol sandboxes so open-file source stays in
static HTML for crawlers. Skip LivePreview while hidden and latch Monaco
hydration on first show so inactive protocols stay cheap without losing
editor state after a visit.
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Cursor <cursoragent@cursor.com>
0 commit comments