Skip to main content
1 vote
1 answer
159 views

I'm building a SolidStart app using the latest version (1.1.0) and cookie-based sessions for authentication. To check if a user is logged in, I created a server query() function called getUser() that ...
thePooyan's user avatar
0 votes
1 answer
310 views

I'm getting a hydration mismatch error for this code, and I don't really understand why. Hydration Mismatch. Unable to find DOM nodes for hydration key: 00000000100... and indicating the child of this ...
Gabriel Cséfalvay's user avatar
0 votes
1 answer
494 views

I have an issue in SolidStart that this one conditional <Show> element is creating this not-too-specific error message, but all the other <Show>s are fine. Error: template2 is not a ...
Gabriel Cséfalvay's user avatar
0 votes
1 answer
136 views

How can I add Cache-Control headers to static files and route responses in Solid Start?
sh03's user avatar
  • 76.6k
1 vote
1 answer
320 views

I'm trying to wrap my head around how to best do nested layouting using SolidStart's file based routing. I have an old app with a "route alias" from "/" to "/some/nested/page/...
Viktor Hedefalk's user avatar
0 votes
1 answer
268 views

Currently I am updating my state in each of my pages. Where should I initialize my app state so the state can be displayed on every page in my app? in my app.tsx or in entry-server.tsx ? After that, I ...
Russo's user avatar
  • 3,250
2 votes
1 answer
287 views

In my SolidJS and SolidStart project, I declared my CartContext in my CartContext.tsx export const CartContext = createContext<>(); const stateDefault = { ... }; export type StatesT = typeof ...
Russo's user avatar
  • 3,250
0 votes
2 answers
235 views

The function getName is working fine and shows the name of the person with id 1 after fetching it from my database but this code doesn't log anything to console not even the debug console.log("...
pcp pcp's user avatar
  • 41
1 vote
1 answer
416 views

A new commer to solid.js, I'm following a tutorial to get some A routing in solid.js app's navbar . My App.jsx is code is like this: import { Router, Route, A } from "@solidjs/router"; ...
blnks's user avatar
  • 1,181
1 vote
1 answer
399 views

I tried setting the username and then reading it in a session in the client side in the following code but it gives an error: import { useSession } from "vinxi/http"; function getSession() {...
soldier captain's user avatar
1 vote
1 answer
361 views

I want to use a slug in the URL (localhost:3000/birthdays/:id) to get an ID and then fetch that item using Pocketbase's JS SDK. On the first attempt, I get this error in my browser: Cannot read ...
Scott Scharl's user avatar
0 votes
1 answer
72 views

I am trying to use tinymce in a solid-start project. TinyMCE is opening when I need to but it is not showing the toolbar, and is not actually letting me edit. I suspect this is a style issue. I ...
Franck Dervaux's user avatar
4 votes
1 answer
2k views

I want to run a solid.js project from a Docker container but I can't connect to the web-app via local host from my browser for some reason, but I was able to successfully do this with my next.js ...
Salim's user avatar
  • 41
1 vote
0 answers
117 views

I have a theme provider written like this import { Accessor, JSXElement, Setter, children, createContext, createEffect, createSignal, onMount, useContext } from "solid-js"; import constants ...
Adharsh M's user avatar
  • 3,932
2 votes
1 answer
400 views

I am trying to start a side project with SolidStart and I noticed some functions are named the same way a React hook would be named (eg: useLocation, useParams, etc...) I am confused by this somewhat ...
kaan_atakan's user avatar
  • 4,117

15 30 50 per page