Skip to content

Releases: zth/rescript-relay-router

[email protected]

17 Oct 13:03
b80a868
Compare
Choose a tag to compare

Patch Changes

  • a12579e: Fix issue with setting array query params.
  • a12579e: Support running route loaders on change of query parameters as well, not just on path changes. Introduce shallow routing mode to preserve previous behavior of setParams not triggering route data loaders.
  • f396f8e: Add makeLinkFromQueryParams helper to route codegen. This helper is intended to be flexible and versatile, enabling a few quality-of-life patterns for producing links in more exotic scenarios.
  • a12579e: Expose imperative getActiveSubRoute in addition to useActiveSubRoute. This makes it easy to imperatively figure out what sub route is active, without having to be in React land.
  • 65523d8: Update to Vite 3
  • a12579e: Add support for typed path parameters, letting you type path parameters as polyvariants in the cases when all values a path parameter can have is known statically.