KokoNeot
routing based on subdomain
Hi,
I want to show a specific component when there is any subdomain *.example.com
and in that component I need to get the subdomain name
and when there is no subdomain render different component
is that possible?
3 replies
order of reactivity
Hi, i have this component
when i click the button i want to change display mode, based on display mode i want to fetch new data and then display it in the show tag
the issue is, when the displaymode changes first it triggers the shows and that errors out because each show is anticipating different data structure which is not fetched yet
7 replies
Lazy loading routes instead of components
Hi,
I'd like to have a separate file for each main route, but I'm not sure how to do that using lazy
those are my routes.
What I'd imagine is a file for homepage. privacy, tos, shards, commands, then profile but that should include also its subroutes, same with admin and blogs and dashboard.
How can I lazy load several components at once?
3 replies
Smooth scroll
Hi, in react-router there is a smooth scroll href/link component. I cant find the alternative for solid. Does anybody know about smooth scroll for solid?
Like when navigating on the same page to an element with id it shouldsmooth scroll to it.
Thanks for any idea
5 replies
What is the difference between solidJS and solid start? and which one should I use?
Hey,
I'm rewriting my project (discord bot) and now I got to the part where I rewrite my dashboard written in ReactJS.
I've heard only good things about solidJS and its still quite similar to the react code so I decided to give it a go. But I'm confused about the difference between solid JS and solid start, can somebody explain that to me?
And secondly, which would you recommend to me, the website is basically a dashboard, it will communicate with my discord bot (rest api, possibly grpc)
thank you and merry christmas!
7 replies