Questions tagged [solid-start]

8 questions
2
votes
0 answers

Loading data from server with SolidStart doesn't work as it should be for me

This is my first try on building a web app, so there might be an obvious answer but I have been struggling for some hours now. Thank you in advance. This is the code for the page this is about: import { createServerData$ } from…
MetaphysX
  • 21
  • 1
1
vote
0 answers

solidjs provider not working when using children helper method

I have a theme provider written like this import { Accessor, JSXElement, Setter, children, createContext, createEffect, createSignal, onMount, useContext } from "solid-js"; import constants from "@/constants"; type TThemeProviderProps = { …
Adharsh M
  • 2,961
  • 3
  • 16
  • 23
1
vote
1 answer

What is the meaning and significance of starting function names with use and create for SolidJs

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 since I see many functions that are the analogs…
kaan_a
  • 3,503
  • 1
  • 28
  • 52
1
vote
0 answers

Cannot exclude an external package from server bundle file using vite and solid plugin

It's been 2 days now that I am struggling with this issue of not being able to exclude @supabase/supabase-js and its dependancies from the final server.js file. I am using Cloudflare workers solid adapter. I've tried all possible combinations to…
ronen
  • 13
  • 2
1
vote
2 answers

"404: not found" error on SolidJS project deployed to Vercel

I recently created a personal website using SolidJS, with server side rendering and typescript enabled. I attempted to deploy this site to Vercel, with the only change from the base Vercel settings being that I changed the Output Directory to…
1
vote
1 answer

SolidStart client side only rendering

Is there any way to render a component on the client side only in Solid Start. Just like in next js we can use dynamic to get ssr false. Is there any alternative for that in SolidJS? I tried to import module in createEffect.
Jay Pokale
  • 11
  • 2
0
votes
0 answers

How do we correctly dockerize a Solid.js app?

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 project so I figured the setup would be…
Salim
  • 1
  • 1
0
votes
1 answer

How to debug Solid Start server side functions

How do I go about Node --inspect Debbuging Solid Start server-side functions? I don't know what entry to use or the correct settings. It's hard to use the console log all the time. Typically I want to debug things like createServerAction$
Nikos
  • 7,295
  • 7
  • 52
  • 88