Comments (4)
pageContext.routeParams
is now always passed regardless of whether the page has a route parameter.
from vike-react.
Indeed it should.
I cannot reproduce. Can you publish a minimal reproduction? I'll re-open then.
from vike-react.
Hi @brillout, if you can go to minimal example in this repo, and use pageContext.routeParams
in the +Page. Then open dev tool in browser then you can see the following errors.
from vike-react.
It's because the page doesn't have any route parameters. That said, the error is misleading and should be improved. Labeling this as bug.
from vike-react.
Related Issues (20)
- SSR issue with Mui HOT 4
- vike-react-query withFallback error prop does not include error properties HOT 3
- `clientOnly()` instead of `<ClientOnly>` HOT 1
- Need a way to add html attributes to the root `<html>` element HOT 7
- Feedback on upgrading from vite-plugin-ssr to vike-react HOT 5
- Disable HTML streaming HOT 2
- StrictMode Config HOT 4
- Ability to run code before hydration HOT 3
- Vike error on HOT 2
- useData() - Error with new vike project HOT 7
- v1 Migration error with useData HOT 1
- Improvements around page transition animations HOT 5
- Make `Layout` cumulative HOT 2
- React 19
- vike-react-query questions HOT 6
- config.Wrapper does not have children
- Add hook for obtaining page and root HOT 5
- `vike-react-query` + Telefunc + Authentication
- Publish `vike-react-query` as `v1.0.0`? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vike-react.