Comments (2)
Yes. Server components don't react to anything except changes to their props, by design.
from nuxt.js.
Thanks for responding @danielroe and sorry for the ping
I still think there may be something unintended - it’s not only that it doesn’t update - even on full / SSR reload useRoute will never have the correct fullPath
Server components/islands can support all the features of normal components, including shared state, access to the current route, and more. Because they behave just like normal components, you can nest them within server components or just sprinkle them through the rest of your code.
(https://roe.dev/blog/nuxt-server-components)
Can you clear up for me what you meant by ‘access to current route’?
from nuxt.js.
Related Issues (20)
- types: useError is not correctly typed as per documentation HOT 1
- Real SSR-friendly Ref HOT 3
- Add warning for @ prefix in build.transpile HOT 2
- Layout Transitions break scroll position on route change and browser forward/back HOT 3
- Hash route links not working with ssr:false
- ✨ Allow setting middleware & routeMeta through routeRules HOT 1
- Build fails with `compatibilityVersion: 4` and TypeScript templates added via `addTemplate` HOT 3
- (Need Help) Encountering Warnings When Using Nuxt3 + shadcnUI and Unsure How to Fix Them HOT 5
- `useFetch` twice "A composable that requires access to the Nuxt instance was called outside of a plugin..." HOT 2
- layout:transition:finish hook
- Importing .vue file in WebWorker causes error in nuxi generate HOT 4
- useAsyncData use $csrfFetch HOT 3
- Using webpack to build errors.
- Plugin type `IsAny` check broken broken in Typescript 5.5 & above HOT 3
- Vee validate auto imports no longer working HOT 1
- Potential regression: notivue stopped working with nuxt v3.13.2 HOT 1
- Components with only optional props lose props type if strict mode is disabled HOT 1
- [Vue Router warn]: No match found for location with path "/notifications.js" HOT 1
- custom $fetch plugin loses typescript HOT 1
- Module not working in new version
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 nuxt.js.