Releases
1.0.0
Changed
Rename use_query
to use_search_params
.
Rename simple.router
to browser_router
.
Rename SimpleResolver
to StarletteResolver
.
Rename CONVERSION_TYPES
to CONVERTERS
.
Change "Match Any" syntax from a star *
to {name:any}
.
Rewrite reactpy_router.link
to be a server-side component.
Simplified top-level exports that are available within reactpy_router.*
.
Added
Add debug log message for when there are no router matches.
Add slug as a supported type.
Add reactpy_router.navigate
component that will force the client to navigate to a new URL (when rendered).
New error for ReactPy router elements being used outside router context.
Configurable/inheritable Resolver
base class.
Fixed
Fix bug where changing routes could cause render failure due to key identity.
Fix bug where "Match Any" pattern wouldn't work when used in complex or nested paths.
Fix bug where link
elements could not have @component
type children.
Fix bug where the ReactPy would not detect the current URL after a reconnection.
Fix bug where ctrl
+ click
on a link
element would not open in a new tab.
Fix test suite on Windows machines.
You can’t perform that action at this time.