How to wrap a store without losing reactivity
Make the child of a memoized component reactive
defineConfig import.meta.dev
Best approach for using createResource
createResource
should be used outside the component and not inside the component, is this a correct statement? I only ask because I noticed the fetcher runs twice if put inside a component vs having it outside the component?Context with children(() => props.children) helper triggers an error
Stepper
component in which I'd have StepperContext
with its API. however, somehow I need to control the displayed children, I found the children
helper but it doesn't work with context
https://playground.solidjs.com/anonymous/92dca985-17bc-4cbb-b2d8-d4b95fb33a33
am I missing something?...Solid-Start vinxi/http issue with useWebRequest
getWebRequest
from vinxi/http inside a Context I get the error,
Error: Module "node:async_hooks" has been externalized for browser compatibility. Cannot access "node:async_hooks.AsyncLocalStorage" in client code.
Error: Module "node:async_hooks" has been externalized for browser compatibility. Cannot access "node:async_hooks.AsyncLocalStorage" in client code.
How to use a common header with solid-router nested layouts
Creating a <ProtectedRoute/> component to use with solid router
Uncaught Error: <A> and 'use' router primitives can be only used inside a Route.
ProtectedRoute.tsx:...Cannot build for Vercel
How to use a resource in a structure field as a reactive signal?
Slider packages
Binding events in a typesafe way with typescript?
SSR Cookies
How do I refresh data without reloading the page
HOC for Suspense and ErrorBoundary
Optimize image loading
Hydration Mismatch. Unable to find DOM nodes for hydration key
Hydration Mismatch. Unable to find DOM nodes for hydration key
, initial I suspect that is because I'm trying to use createPagination
primitive, but after comment the code related with the pagination the error persists.
I will leave the code on the thread...JWT to Cookie
@solid-primitives/storage
versus vinxi/http
to set cookies or if I should use a middleware similar to how sveltekit implements middlewares for locals.
example I am working through is authenticating my user. I have the standard OIDC flow. user clicks the 'login with google' button and is sent to auth.mydomain.com/auth/google/authorize which generates the url sends them to google to signin. The user signs in with google and is send back to auth.mydomain.com/callback/google which validates them in my DB and generates a JWT and sends them back to the location.origin
with the url containing the access_token
. (example: localhost:3000/#eyJhbG....
I want to take that jwt access_token and set it as the Authorization: Bearer $AUTH_TOKEN
and remove the hashed value from the url?...Pagination
createInfiniteScroll
....Creating a store with data returned from an async function