How to do nested <For
Is there a way to make an iframe reactively render with state/signals from its parent?
Forward reference a Component's state in Template
Child component cannot access context that the parent can access?
How do I scroll to bottom, on a scrollable content that displays a Show when
<div ref={$content}
Show when={signal()}
```
createEffect(() => {
set_signal(true)...Solid JS force rerender on signal change
setTimeout, but I want to make sure I am not implementing a hacky solution. For example, could I reliably get away with using a requestAnimationFrame or is there some Solid JS provided function that I missed?
Here is a code snippet that demonstrates the problem and the timeout fix. If you remove the setTimeout, you will see no change.
```...Subscribe to data in solid-start
createServerData$ function. I'm hoping to have this page subscribe to the data and update if another user inserts data to the postgres table.
Are there any patterns to handle this using solid-start? I'm not sure how to subscribe in an SSR setting....Generate random numbers serverside and don't regenerate on hydration
How can we lazy load route data using @solidjs/router ?
Context In Typescript
ThemeContext.Provider in the ThemeProvider Component.
https://www.solidjs.com/examples/context
Cannot find namespace 'ThemeContext'....Vercel + Prisma
vercel-build with "prisma generate && solid-start build && cp node_modules/.pnpm/**/@prisma/engines/*query* .vercel/output/functions/render.func/ && cp prisma/schema.prisma .vercel/output/functions/render.func/" (To copy over the prisma engine/schema into the render function), however the error still appears, even though I am sure the files do get copied....
Server rendering error on createResource. Inconsistent HMR.
npm run dev and npm run build just hangs.
```bash
GET http://localhost:3000/
An unhandled error occured: TypeError: Cannot read properties of undefined (reading 'id')
at Proxy.createResource (/Users/rexor/projects/fastsearch/solid/node_modules/solid-js/dist/server.cjs:412:35)...Set Timeout Example
How to make an Isomorphic Component Library?
How to access browser language during SSR?
SPA you would normally access navigator.language but during SSR the navigator is undefined. How can I access the browser language/locale during SSR?Register custom component props without default values
how to make a route working after page reload
It works while I'm surfing from the root page to other pages. But once I refreshed a page, that is not root, it stop working. It throws 404. The mistake is showed just on production build. When I use
npm start it works properly. What may be the reasons?...
Does SolidStart Have a Global `Context` That Server Functions Can Use?
context" that is globally available to all server functions. For instance, Svelte Kit has event.locals (https://kit.svelte.dev/docs/load#shared-state), which can be set at the server entry point (hooks.server.ts). This context info is then available to all of the server data loaders.
Similarly, Remix passes a context argument to its loader and actions. The value of context can be set by getLoadContext (https://remix.run/docs/en/v1/route/loader#context).
Does SolidStart have anything similar? Or are there at least plans to add something like this in the future? Having a global context is really helpful when it comes to user identifiers....how do i make my component to accept class and classList ?