Comments (3)
This should be resolved in the nightly release by #27542, or in the next release.
Until the next patch, you can work around by creating ~/plugins/payload-reactivity.client.ts
with the following content:`
export default defineNuxtPlugin(nuxtApp => {
const payload = nuxtApp.payload
for (const key in ['_errors', 'data']) {
if (!isReactive(payload[key])) {
payload[key] = shallowReactive(payload[key])
}
}
if (!isReactive(payload.state)) {
payload.state = reactive(payload.state)
}
})
from nuxt.js.
Hi,
I encountered this issue after installing an NPM package: the state variables managed by useState were no longer updating. After some investigation, I discovered that the installation of this package had upgraded the Nuxt.js version to 3.12.1 due to the ^ in front of the version. Reverting to my previous version resolved the issue, but it took me a while to identify the cause. Many thanks to @sei-jdshimkoski for pointing out this problem.
@danielroe When issues like this are detected, it would be helpful to have a newsletter communication to inform users about such critical problems.
I thought I was going crazy 😵💫
from nuxt.js.
Start a new pull request in StackBlitz Codeflow.
from nuxt.js.
Related Issues (20)
- Nuxt ui datepicker component freezing issue HOT 3
- add Infinite fetch support HOT 1
- since Nuxt >= 3.12.0 definePageMeta({ layout: 'custom' }) invalid HOT 3
- when deploying to cloudflare pages using latest nuxt version, showing `This page is temporarily unavailable.` HOT 5
- Unable to start server with `inlineDynamicImports` in Nuxt 3.12.4 but works well with 3.12.3 HOT 4
- TAR_BAD_ARCHIVE giget HOT 1
- RangeError: [nuxt:components:imports] path should be a `path.relative()`d string,
- Incrementing/Repeated Routes (?) HOT 3
- Can't call the same composable that using a composable that require nuxt instance in same function HOT 2
- npm run genreate first render is cache data
- Cannot read properties of null (reading 'parentNode') when navigate from page HOT 11
- Environment Variables logging to console but aren't able to be used HOT 4
- On redirection with NuxtLink pageLayout is not set that is defined in definePageMeta HOT 1
- module get `modulepreload` despite dynamic import HOT 1
- Can't seem to access studio configuration data in application HOT 2
- npm run genreate first render is cache data
- The `jsx` doesn't work after being compiled in Nuxt? HOT 1
- How client component use data from server component?
- When starting up in the development environment, more information streams should be displayed HOT 1
- Better Error Messages when Using Layers 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 nuxt.js.