Utsuhoagie
Explore posts from serversNon-return part of <For>'s callback only seems to run once?
Does this apply to every place where I'd like to access reactive state? I initially thought it should be fine as long as it's not in a top-level body of the component itself. Here it's still technically inside the return of my page component
11 replies
Non-return part of <For>'s callback only seems to run once?
(too long so I gotta post externally)
https://pastes.io/7nmrbrpcql
11 replies
How to implement JWT authentication in SolidJS, without SolidStart?
I did suspect that reactivity was a problem because I wasn't using any signals, but I wasn't sure if the browser cookie API would work out of the box somehow, there's not much to read about it.
Thanks though, I'm experimenting with this package and it seems to work! I don't even need to manually
navigate()
after say, logging in. Though right now I'm using sessionStorage instead, but it should be fine for my app as there's no real risk (or users)9 replies