Metru
Explore posts from serversI'm having trouble with `session.data` being undefined
Starting from the with-auth example,
user_id
is sometimes undefined when e.g. refreshing the page.
I've made a minimal reproduction of the issue here:
https://github.com/metruzanca/solidstart-getSession-bug-repro
First commit is the initted project, second is the code that's causing the issue.
I've also got a video showing off the problem.35 replies
Struggling to get FileRoutes working
Trying to get the FileRouter working in a fresh
pnpm create solid
https://github.com/metruzanca/solid-fileroutes-not-working
Keep getting hydration error in the console37 replies
Question about Contexts
In react a common pitfall with contexts is causing unnecessary re-renders to everything subscribed to any piece of the context state, including those just using the methods. (unless you carefully designed the context)
Is it safe to assume(/correct to say) that solidjs' contexts are inheritly safer and easier to use since components don't rerender like react and we then only need to worry about using signals/stores adequately?
2 replies