Async Primitive
`createMutable` fails Vitest's `toStrictEqual` when `vite-plugin-solid` is active
vite-plugin-solid plugin is not enabled, the following test passes:
expect(createMutable([1,2,3])).toStrictEqual([1,2,3]);
expect(createMutable([1,2,3])).toStrictEqual([1,2,3]);
Render Portal as Error Boundary Fallback?
events not fired inside react modal
How to avoid passing props all over the place
Does streaming work in SolidJS with signals?
Route definition within a component
Need help with running solid-community/solid-primitives
pnpm install
- pnpm run dev
- throws something like "packages not found, did you forget to run pnpm run generate?"
- in /site run pnpm run generate...
How to build styled Web Component with a CSS library?
solid-element is great for building Web Components. Styles inlined on components work just fine.
However, when the component starts getting complex, it's helpful to make use of some sort of CSS library. When building with Vite, many of the CSS libraries output CSS files or inject code that injects the styles in the DOM (which don't penetrate the shadow DOM boundary).
What's the best way to handle styles when building a Web Component with Solid?...Using SolidJS's produce(), but with Immer-style patch generation?
produce, but with patch generation akin to Immer's produceWithPatches? (being able to only store the delta (patches), as well as supporting things like classes)
I'm currently using a combination of Immer's produceWithPatches and reconcile to work with a state that's made up of nested instances of various classes. The only reason I'm using Immer in the first place is to get the undo/redo functionality with little fuss, but it doesn't play well with SolidJS, and is slow and results in unnecessary re-renders....Cookie bug
Why is `BoundEventHandler` typed this way?
BoundEventHander is,
```ts
interface BoundEventHandler<T, E extends Event> {
0: (...How can you get the id of element body when its id is changed?
Is anyone detecting light vs dark mode on their site>
const isMobileSize = useMediaQuery("(max-width:600px)");
const isMobileSize = useMediaQuery("(max-width:600px)");
how to end response without using "nativeEvent"?
middleware?
```javascript
event.nativeEvent.res.writeHead(403).end();
return;...what's the difference between? createResource andcreateAsync
How to create a reactive localstorage?
How do i make a list properly reactive to state changes?
SolidStart - Create T3 Equivalent