Accessing functions declared in child elements
Async route guards in Solid Router, and serverside props (not using SolidStart)
renderToStringAsync
, and clientside pages are hydrated.
See below for the rest of the thread....SolidTable infinite loop with `createAsync` query, createMemo but not createSignal + createEffect?
query
to fetch data and SolidStart actions
to insert data. I'm running into an issue where if I supply the createAsync
accessor of the query directly as the data
parameter for the table - it hangs / hits out of memory errors when I insert a row using the action
. I'm not 100% sure what causes the issue but it seems like it might be an infinite re-render of the table. If I keep everything the same but change the table data to be an empty array then it works no problems - so not an issue with the DB/query/action by themselves, it's only when its used as data for the table.
I've tried some alternative approaches - createMemo
of the createAsync
accessor does not work - but strangely if I use createSignal
and then update it with the value of the createAsync
query in createEffect
then it does work? Why createSignal/createEffect here work when createAsync does not? Does createAsync not have stable references?
Please help me work this out - I'd really like to not use createEffect to make this work if I can avoid it. Thanks!...SolidStart behind nginx reverse proxy
<input> has no value inside <dialog>
Understanding `createRoot`
createRoot
works, why it exists, and when it should be used. To my knowledge, it's a relatively advanced topic, and there is rarely a need to use it. I don't have a specific use case for it either, but I wanted to update the documentation, so I need to understand it better first. Specifically, I want to address this issue.
Here are my questions; please provide simple explanations:
1. Why is it named createRoot
? Root of what?...How to set route info for file routes?
info
object. But how does one set such an object for file routes? Is there a special export similar to Remix's handle
?renderToString in Elysia BFF Layer
Solid Router Nested Urls
Solid Start, how to add backend/nitro plugin?
how to add auth protected route or layout in a better way?
Preferred way of handling `429 Too Many Requests` with `createResource`?
retry-after
header. The way I handle it right now seems... suboptimal to me. It works fine, don't get me wrong, but I have a feeling it culd be handled better.
```ts
const [canLoad, setCanLoad] = createSignal(true);
const loadQuote = async () => {...Passing signal value as a prop
Title
component, but its kinda now what i'm looking for.
Title.tsx
```tsx
import { JSX } from 'solid-js';...solid-primitives/storage help for a persistent user config store not loading properly on refresh/
Solid Start in pnpm workspaces monorepo
Stale read in <List><Show><List>
Untrack on store arrays
createEffect
and stores. Today I probably have similar misunderstandings around untrack
.
My assumption was that, e.g.
```
createEffect(() => {...createEffect vs createEffect + on
createEffect
is triggered but not the second one using on
? I feel there is something obvious I'm missing. Using solid-js 1.9.5
```
createEffect(() => {
console.log("effect", props.nearestPointConfig);...SolidJS Router Missunderstanding
Clearing form after action in solid-start