Optional ReadonlyanimateOptional animation configuration
Optional ReadonlycontainerOptional custom container element. If not provided, defaults to a div
with display: contents.
Optional ReadonlyintroRe-animate SSR/SSG-rendered items on hydration. By default each attaches
handlers to pre-existing DOM without re-running enter animations (right
default for content lists — you don't want every feed re-animating on
every page load). Set intro: true for decorative sequences (headline
letter cascades, opening scenes) where the animation is the point and
skipping it on hydration defeats the purpose.
There's a brief visual flash between the SSR paint and hydration
applying the enterFrom state. To eliminate it, hide the container in
CSS until hydration completes (e.g. visibility: hidden on a class
you toggle from your client entry). A first-class FOUC-prevention
mechanism is planned for a follow-up.
Respects prefers-reduced-motion via runEnterAnimation.
ReadonlykeyFunction to extract a unique key from each item
ReadonlyrenderFunction to render each item.
Configuration for the
eachcontrol flow (DOM-specific with animation support).