github marko-js/marko @marko/runtime-tags@6.3.20

5 hours ago

Patch Changes

  • #3553 71a399b Thanks @DylanPiercey! - Thread the enclosing chunk's context into the bridged head chunk when a Marko 5 Class component renders under a Tags-API region. Previously the head chunk was built with a null context, so a Class embedded under an async/lazy Tags region lost its closest-branch association and its descendants could resume against the wrong branch (hydration mismatch).

  • #3548 fbbb735 Thanks @DylanPiercey! - Register an event handler that only reads section params (a <for> item, an <await> value, a tag body param) once when its branch is created, instead of re-attaching it every time the param value changes. The handler reads the current param from its own scope slot when invoked, so re-registration was redundant work on each keyed-list or param update.

  • #3549 08e5ef8 Thanks @DylanPiercey! - In development, warn when the same lazy asset is imported with different load triggers by multiple parents. The asset streams a single trigger script, so only the first-rendered parent's trigger takes effect; the warning surfaces this instead of it silently choosing behavior by render order.

Don't miss a new marko release

NewReleases is sending notifications on new releases.