Native Solid rendering

One Solid component, five ways to load it. Each counter starts at zero and keeps its own count. Most arrive as HTML before their JavaScript loads.

On page load

0

client:load makes this counter interactive as soon as the page loads.

When the browser is idle

0

client:idle waits until the browser has time after loading the page.

When it becomes visible

0

client:visible loads this counter when it enters the viewport. Scroll down to try it.

On wider screens

0

client:media activates at a viewport width of at least 768 pixels. On smaller screens you see the initial HTML; widen the window to interact.

Loading browser counter…

Interactive workspace

Static Solid page