Skip to content

Releases: smikhalevski/react-corsair

v0.0.4

19 Jul 21:14
Compare
Choose a tag to compare

Changelog: v0.0.3...v0.0.4

  • React support is now limited to React >= 18.
  • Routes expose their components and PathnameTemplate.
  • Added createHashHistory.
  • Most of hooks were removed in favor of useRouteState.
  • *Fallback options were renamed to *Component and doesn't accept ReactNodes anymore, only ComponentType values are allowed.
  • Outlets were refactored.
  • Multiple bugfixes.

v0.0.3

08 Jul 22:08
Compare
Choose a tag to compare

Changelog: v0.0.2...v0.0.3

Added missing useHistorySubscription export.

v0.0.2

08 Jul 22:08
Compare
Choose a tag to compare

Changelog: v0.0.1...v0.0.2

  • Routes now accept a parent.
  • createRoute was added.
  • Route content is rendered in an <Outlet/>.
  • Replaced URLPattern with a custom pattern matching implementation. Route pathnames can use $param syntax to declare params.
  • Added useNavigation that doesn't trigger component re-renders.
  • Added the Link component that triggers navigation through an a tag.

v0.0.1

27 Jun 21:42
Compare
Choose a tag to compare