How can I test that all computations were created in a root?
I have integrated @solid/meta in my solid-start project but I keep getting an error.
Just using Filerouter from solidstart
Exception thrown when invoking useNavigate within Router root layout
navigate("/login")
from my root layout component, I am greeted with the following exception:
```ts...Solidstart project won't build
Error when evaluating SSR module EVEN WITH ssr: false
ssr: false
I'm using @revenuecat/purchases-capacitor
inside of the project.
When I use the revenuecat
package in a file inside of the routes
folder, everything works....Solving "computations created outside ..." using `createMemo() ?`
props.values
in my event handling code:
computations created outside a createRoot or render will never be disposedI have read the docs and some additional info (like https://github.com/solidjs/solid/issues/2130). The warning is gone when I simply wrap the
props.values
access in a createMemo()
:...SolidJS SPA with Better Auth
TanStack Query vs Solid Router
query
+ createAsync
.
Is there any reason to use TanStack when Solid Router comes with those built-in? Just wondering if there is something I'm missing because, the query
+ createAsync
combination if I'm not mistaken provides a lot of the same benefits that TanStack does with request de-deduping and caching by key. Wondering if there are other gaps present that I am not privy to (e.g. easy request refetching/polling on interval or conditional fetching like the enabled
field from TanStack Query).
For the visually inclined -- the question is what is the recommendation between these two options and the pros/cons of each:...[astro-island] Error hydrating /src/components/SignUp/SignUpForm.tsx TypeError: conds[i] is undefine
`scroll` event emitted until end reached when scrolling lazy-rendered table
@solid-mediakit/auth
@solid-mediakit/auth
. But I keep running into this error when trying to create a protected route.
5:35:31 PM [vite] Error when evaluating SSR modulesrc/routes/protected/index.tsx?pick=default&pick=$css:
|- TypeError: __vite_ssr_import_10__.query is not a function
5:35:31 PM [vite] Error when evaluating SSR modulesrc/routes/protected/index.tsx?pick=default&pick=$css:
|- TypeError: __vite_ssr_import_10__.query is not a function
How does `query` cache actually work?
Any way to redo this logic without an infinite loop?
createAsync
and then dynamically rendering this in a <Show/>
, however, to get the data to get guaranteed instead of possibly undefined I have to use the render prop, which goes into an issue shown here: https://github.com/solidjs/solid/issues/1149. Essentially I cannot use a <For/>
loop inside this, as I get an infinite loop - I have to use an <Index/>
loop. Is there some other way to do this pattern or am I basically stuck using <Index/>
? T...Solid Start Vinxi complaining about public and can't resolve public fonts
url("/fonts/open-sauce/OpenSauceOne-Black.woff")
url("/fonts/open-sauce/OpenSauceOne-Black.woff")
Solid Start HMR not rebuilding styles on class change
Why is this code not reactive?
errors()
is reactive and errors().scenarios
seems to be reactive, and the div with the Errors: {errors().scenarios?.[i]?.name?.[0]}
seems to work fine, so I can't totally understand why the vali...Best Practices for Handling Errors in a query-Wrapped Server Function
How to use server function & suspense
Have anyone gotten ts particles to work in solid?