Vexcited
using id on route and named route breaks
Hello !
I experience an issue with my router where the
/:id/@me/
route gets ignored and only the /:id/:guild_id/
route gets mounted when I navigate to http://localhost:1420/123456789123456789/@me
(as example)
Any idea why it doesn't work ? I couldn't find anything in the documentation related to my case and I'm kinda lost to be honest.
Thanks you in advance !17 replies
Is it bad to have A LOT of `createEffect` in a single component ?
Hello !
In my use case, I'm doing components to bridge classes from JavaFX to SolidJS.
The classes are implemented in a way that you have a
setX
and getX
for each property.
If you setX
multiple times the same object, it will reassign it and re-run everything on the JavaFX side.
That's why I don't want to do everything in a single createEffect
, to prevent computations in case the object assigned to X
property is the same as before.
For now, my code looks like this :
Here, there's only three properties so three createEffect
, but you can easily guess how many createEffect
there'll be for more bigger components with more than 10 different properties.
So is it bad to have a lot of createEffect
in a component ?
Are there any alternative to do this that also prevents running twice a computation that was already done ?25 replies
SolidStart Vercel deployment issue with CSR
Hi !
When I go to the website page, it just downloads the HTML with no file extension, nothing is shown in the browser.
When I go to
/__nitro
though, I can see stuff but nothing shows up too, probably because I don't handle 404 yet.
Here's my vite configuration :
And you can even find the repository here https://github.com/Vexcited/Signatures-IUT-Limoges/tree/main/packages/website
Is there an issue with my configuration or another issue with CSR ?13 replies
`@solidjs/router` doesn't seem to work with Capacitor
In my
index.tsx
, I defined the routing like this
In my MainAppPage
, I have a <A href="/link">Link account</A>
When clicking on it, nothing happens on the built app through Android Studio, I don't even have an error in the console, nothing.
When checking in the browser on the PC, it works though.
Any idea on what's happening with Capacitor?
did a showcase video in case my explanation isn't good enough 😭4 replies
Title of page not updating
So the thing is that I use SolidStart with CSR mode (w/index.html so vite-plugin-pwa detects it)
On development, Title is working.
On production, it doesn't.
It always keep the index.html title and never updates it, probably because when looking at the DevTools, I can see 2 <title> elements - the one from my index.html and the one from SolidStart.
Any work around?
12 replies
Any help for using Framework7 with SolidJS?
Hey! I'm trying to make a Capacitor app using SolidJS and want to use Framework7 (https://framework7.io/docs) with it. I want to be able to use Solid components, routes, ... inside Framework7.
I'm currently stuck with their router.
I was able to render a Solid component using
But I don't really know how I can switch routes or even make them work 😂
I use the core library directly and there's not a lot of documentation when you're not using their components/routing solutions so I wonder if someone here could help me :p
Thanks!
3 replies
NativeScript + SolidJS
What's the current state on this?
I found this library https://github.com/nativescript-community/solid-js but not sure if that's production ready or not so if anyone have more informations about it, would be cool to know.
20 replies