Module sycamore::hydrate

Expand description

Utilities for client-side hydration in the browser.

Functions§

  • Gets the element with the next hydration-key or None if not found. This method basically queries elements with the data-hk attribute.
  • Gets the next node surrounded by <!#> and <!/>. Removes the start node so that next call will return next marked nodes.