Skip to content

v0.6.4

Choose a tag to compare

@argyleink argyleink released this 12 Jun 08:19
· 12 commits to main since this release

Added

  • nav-type plugin--const-nav-type: how the user arrived at the page,
    written once as a string (navigate / reload / back_forward / prerender)
    from performance.getEntriesByType('navigation')[0].type. Pairs with style
    queries — @container style(--const-nav-type: reload) { … }. Global scope,
    const cadence; typed mode registers it as a <custom-ident>. Import as
    navType from prop-for-that/plugins. (Rides the batched writer, so it lands
    the frame after bind — read the same value in a <head> script if you need it
    before first paint.)