Gobbo
Gobbo
NNuxt
Created by Gobbo on 8/23/2024 in #❓・help
Server doesnt have params when client does
good shout didnt try a watch but got it solved :)
5 replies
NNuxt
Created by Gobbo on 8/23/2024 in #❓・help
Server doesnt have params when client does
Turns out NuxtLayout runs before a page loads, which means it doesnt have the route data properly, https://stackoverflow.com/questions/76127659/route-params-are-undefined-in-layouts-components-in-nuxt-3
5 replies
NNuxt
Created by Gobbo on 8/23/2024 in #❓・help
Server doesnt have params when client does
still not sure whats the cause of this issue
5 replies
NNuxt
Created by Gobbo on 8/15/2024 in #❓・help
SSR and Cookies
useCookie is u sed on the server whilst client just uses credentials
2 replies
NNuxt
Created by Gobbo on 8/15/2024 in #❓・help
Nuxt Dev tools crash on hover
No description
2 replies
NNuxt
Created by Gobbo on 8/14/2024 in #❓・help
useCookie empty on client?
Clearly dont know how cookies work HttpOnly means that only server can access it ( hence why it appears in the server ) didn't know this :)
4 replies
NNuxt
Created by Gobbo on 8/14/2024 in #❓・help
useCookie empty on client?
maybe im not understanding it well enough but not sure what else to do? the cookie is set via a seperate server mind
4 replies
NNuxt
Created by Gobbo on 8/14/2024 in #❓・help
useCookie empty on client?
it also briefly displays it in the view, however quickly disappears leading to a hydration mismatch
4 replies
NNuxt
Created by Gobbo on 8/6/2024 in #❓・help
Weird reactivity issue
seems to be a nuxt ui issue? Using this inside of a UAlert however outside of the UAlert slot it updates ffine?
6 replies
NNuxt
Created by Gobbo on 8/6/2024 in #❓・help
Weird reactivity issue
it loads
6 replies
NNuxt
Created by Gobbo on 8/6/2024 in #❓・help
Weird reactivity issue
when HMR reload happens
6 replies
NNuxt
Created by Gobbo on 8/6/2024 in #❓・help
Weird reactivity issue
keep in mind
6 replies
NNuxt
Created by Gobbo on 8/6/2024 in #❓・help
Weird reactivity issue
No description
6 replies
NNuxt
Created by Gobbo on 5/7/2024 in #❓・help
reactive propagation through parameters
Okay yeah, its because of that and a fix is state = { ...currentCondition } is that good practice or updating values inside of a reactive? I could use a re ftoo and just update the value
3 replies
NNuxt
Created by Gobbo on 5/7/2024 in #❓・help
reactive propagation through parameters
I assume its because I'm just setting the state value to currentCondition - so it has some form of linkage there
3 replies
NNuxt
Created by Gobbo on 4/29/2024 in #❓・help
most reusable and least messy way to link query parameters to refs
this is short enough for me
70 replies
NNuxt
Created by Gobbo on 4/29/2024 in #❓・help
most reusable and least messy way to link query parameters to refs
for another time
70 replies
NNuxt
Created by Gobbo on 4/29/2024 in #❓・help
most reusable and least messy way to link query parameters to refs
appreciate it :) not sure if i can turn this into a composable without h eaving typescript work - would need some hard dynamic typing and dynamic watchers etc
70 replies
NNuxt
Created by Gobbo on 4/29/2024 in #❓・help
most reusable and least messy way to link query parameters to refs
yeah thats what i opted for, read ur code wrong for a sec but got it
70 replies
NNuxt
Created by Gobbo on 4/29/2024 in #❓・help
most reusable and least messy way to link query parameters to refs
good idea
70 replies