Releases: smikhalevski/react-corsair
Releases · smikhalevski/react-corsair
v0.0.4
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 acceptReactNodes
anymore, onlyComponentType
values are allowed.- Outlets were refactored.
- Multiple bugfixes.
v0.0.3
Changelog: v0.0.2...v0.0.3
Added missing useHistorySubscription
export.
v0.0.2
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 ana
tag.
v0.0.1
Changelog: https://github.com/smikhalevski/react-corsair/commits/v0.0.1
Initial public release.