API w/o File Routes Component Possible?!
How to trigger focus and scroll across the app?
focus()
or scrollToBottom()
etc.
My current idea is to have a large, random integer in a variable in the store, and in the component rendering the DOM element I just put a dummy createEffect()
with this integer and a scroll/focus effect....Clarification on createAsync and Suspense behavior
id
and offset
.
id
is the slug of the page (location.params.id
) while offset
is just a signal.
the async data is wrapped by a Suspense component with a fallback....Layouts w/ Component Rendering please?!
Solid router, suspense and navigate
<Router root={<App>{props.children}</App>}>
{routes}
</Router>
<Router root={<App>{props.children}</App>}>
{routes}
</Router>
Deploy SolidStart with cluster?
Astro/Solidjs

useNavigate to set search params
useNavigate
. I was thinking navigate("/path?foo=" + bar)
but this feels wrong.onCleanup is running on server
How to Abstract Routers using Classes
Router
abstraction that consumers of the library can configure with their router of choice. The way I'm going about that is providing abstract Router classes. Below is one example:
```tsx
import { type Accessor, createSignal } from "solid-js";
...Correct type for props.children?
SSR doesn't auto fetching data when CSR
Solid-Start error when using fetch/axios/ky to call to external service SSR
Current User Items Cache
Does store setState check for equality before updating signals?
tanStackQuery/Solid/Astro

Update array of signal by index, it does unfocus on typing
Second component instantiation has no owner when under vinxi start in a npm linked component
getOwner()
goes null
and this happens in an application I'm upgrading from solid-start 0.3.11 (worked under pnpm link). Seems like this would be something in vinxi, but I'm not sure. Could there be an issue in Solid-Js?https://github.com/nksaraf/vinxi/issues/473 I'm simply using
npm i --save ./cmp
which saves the folder as a file link "file:cmp" in package.json
. Then (in the reproduction), I installed solid-js in cmp
and create a component that logs getOwner()
and then I included that component in the parent solid starter route/index.tsx
....I'm struggle with createResource