CALIFORNIVS
CALIFORNIVS
NNuxt
Created by CALIFORNIVS on 6/14/2024 in #❓・help
v-if child attribute and child merging
but i am still curious on this haha
24 replies
NNuxt
Created by CALIFORNIVS on 6/14/2024 in #❓・help
v-if child attribute and child merging
I ended up making my thing work by just doing what they said and making it css based
24 replies
NNuxt
Created by CALIFORNIVS on 6/14/2024 in #❓・help
v-if child attribute and child merging
24 replies
NNuxt
Created by CALIFORNIVS on 6/14/2024 in #❓・help
v-if child attribute and child merging
yeah it is
24 replies
NNuxt
Created by CALIFORNIVS on 6/14/2024 in #❓・help
v-if child attribute and child merging
do you know if there's a way to have multiple slots that are the same actual component, but just rendered twice?
24 replies
NNuxt
Created by CALIFORNIVS on 6/14/2024 in #❓・help
v-if child attribute and child merging
I've used that before, but if one of them has an input component, when I shift from one size to another, it ends up removing that content
24 replies
NNuxt
Created by CALIFORNIVS on 6/14/2024 in #❓・help
v-if child attribute and child merging
thanks for the info!
24 replies
NNuxt
Created by CALIFORNIVS on 6/14/2024 in #❓・help
v-if child attribute and child merging
but yeah thats about what I ended up doing 😭 just gonna be a pain if I need to make changes later haha
24 replies
NNuxt
Created by CALIFORNIVS on 6/14/2024 in #❓・help
v-if child attribute and child merging
It'd end up re-loading that part of the page twice and wouldn't be able to maintain any state
24 replies
NNuxt
Created by CALIFORNIVS on 6/14/2024 in #❓・help
v-if child attribute and child merging
I get this kind of thing, but what about cases when that's not really possible? for example when you'd need the slot to show up in two different containers depending on different sized layouts?
24 replies
NNuxt
Created by CALIFORNIVS on 6/14/2024 in #❓・help
v-if child attribute and child merging
Hmmm in that case do you know how other sites do this kind of responsive stuff? I was considering using v-show for my layout but then my slot content gets loaded twice
24 replies
NNuxt
Created by CALIFORNIVS on 6/14/2024 in #❓・help
v-if child attribute and child merging
I ended up solving the symptoms of the issue by introducing a bunch of technical debt just using tailwind responsive breakpoint based rendering properties, but I am quite interested in finding out how to fix the above hydration issue in case anyone knows a way to fix it
24 replies