mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(site): a few loading optimizations (#193)
This commit is contained in:
@@ -15,7 +15,7 @@ const clientHighlighter = await createHighlighter({
|
||||
/**
|
||||
* Renders HTML, TSX, CSS, and JavaScript. A strict subset, for lighter-weight client shipping
|
||||
*
|
||||
* Renders with top-level await, so, it's safe for ssr (client:idle or client:load)
|
||||
* Renders with top-level await, so, it's safe for ssr (client:idle or client:load or client:visible)
|
||||
* However, if you try importing more than one island with ClientCode in it,
|
||||
* Safari MAY throw a hydration error because of this top-level await.
|
||||
* https://github.com/withastro/astro/issues/10055
|
||||
|
||||
Reference in New Issue
Block a user