noted: lazy load web components with conditional imports dbushell.com/notes/2026-0...
Post
๐๐ฉ๐ช๐ด ๐ณ๐ฆ๐ด๐ถ๐ญ๐ต๐ด ๐ช๐ฏ ๐ญ๐ข๐ป๐บ-๐ญ๐ฐ๐ข๐ฅ๐ช๐ฏ๐จ ๐ค๐ถ๐ด๐ต๐ฐ๐ฎ ๐ฆ๐ญ๐ฆ๐ฎ๐ฆ๐ฏ๐ต๐ด ๐ฑ๐ณ๐ฆ๐ด๐ฆ๐ฏ๐ต ๐ช๐ฏ ๐ต๐ฉ๐ฆ ๐๐๐ ๐ข๐ต ๐ญ๐ฐ๐ข๐ฅ ๐ต๐ช๐ฎ๐ฆ, ๐ฆ๐ฏ๐ต๐ช๐ณ๐ฆ๐ญ๐บ ๐ข๐ด๐บ๐ฏ๐ค ๐ข๐ฏ๐ฅ ๐ช๐ฏ ๐ฑ๐ข๐ณ๐ข๐ญ๐ญ๐ฆ๐ญ Yes lazy, and LATE because it can only run AFTER all DOM is parsed ๐๐ฆ ๐ข๐ญ๐ด๐ฐ ๐ข๐ถ๐ต๐ฐ๐ฎ๐ข๐ต๐ช๐ค๐ข๐ญ๐ญ๐บ ๐ญ๐ฐ๐ข๐ฅ ๐ฆ๐ท๐ฆ๐ณ๐บ ๐ธ๐ฆ๐ฃ ๐ค๐ฐ๐ฎ๐ฑ๐ฐ๐ฏ๐ฆ๐ฏ๐ต ๐ช๐ฏ ๐ฐ๐ถ๐ณ ๐๐๐ ๐ฃ๐ถ๐ฏ๐ฅ๐ญ๐ฆ SSR?! then use the platform! <๐จ๐๐ง๐๐ฅ๐ฉ ๐๐๐๐๐ง/๐๐จ๐ฎ๐ฃ๐/๐ข๐ค๐๐ช๐ก๐>
LATE is sometimes preferable depends where/when a component might be used, using <script> for everything can clog the pipes (i don't know what they mean by SSR bundle, don't think that is shipped to the browser?)
0 reposts0 likes