We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@suspensive/react, etc
const App = () => { return ( <PageProvider adapter={reactRouteDomAdapter}> <Switch> <Route path={UserPage.route({ userId: ':userId' })} component={UserPage} /> </Switch> </PageProvider> ) } const UsersPage = page(({ userId }: { userId: number }) => `/users/${userId}`)({ errorFallback: () => <Box.Error>Failed to load user</Box.Error>, loadingFallback: <Spinner />, queryParamsParse: z.object({ user_id: z.coerce.number(), }).parse, loader: async ({ queryParams }) => {}, component: ({ queryParams, loadedData }) => { return <Deep /> }, }) const Deep = () => { const router = useRouter() const queryParams = UserPage.useQueryParams() const handleClickRouteButton = router.push(UserPage.route({ userId: user_id })) return <></> }
No response
The text was updated successfully, but these errors were encountered:
manudeli
No branches or pull requests
Package Scope
@suspensive/react, etc
Description
Possible Solution
No response
etc.
No response
The text was updated successfully, but these errors were encountered: