This package is a router that provides transition animations and fully preserves the state of previous elements, offering an experience close to a Web standard API.
npm install @web-package/react-widgets-router> __See Also__
> The keep-alive feature is enabled by default and documented, but the options for keep-alive have not yet been made configurable or customizable.
> See Also, If you want the change-log by version for this package. refer to Change Log for details.
> See Also, Instead of setting the default attribute to true, you can also set the path attribute to *.
``ts`
return (
)
tsx
function ExamplePage1() {
return (
)
}
`$3
You need to keep that in mind about this feature is an experimental stage.`tsx
function ExamplePage2() {
const route = useRoute(); return (
)
}
``