Should custom stores have embedded effects like this?
Web Trading Terminal in SolidJS
New to JS frameworks in general, can Solid do what I'm looking for?
solid library with styling
How to build SolidStart with relative base URL?
Getting SSG to work nicely
app.config.ts
...Dynamic meta - computations outside createRoot warning
computations created outside a
createRoot or
render will never be disposed
warning.
Here is the snippet of the line referenced from the browser:
```ts...How the `name` option in `createResource` is used?
name
option in createResource
is used for "debugging purposes". But it's not clear to me how it's used for debugging. Is it for internal usage only, or it provide a value to the users?
This if for the docs @core-team....No clear answer for "computations created outside a `createRoot` or `render` will never be disposed"
computations created outside aactually means, but there is no definitive info. I get this message for some global createMemo, as well as expression inside thecreateRoot
orrender
will never be disposed
<Title>
component.
Global createMemo scenarios...Can't use binary dependencies in api endpoints
ERROR [commonjs--resolver] ../../node_modules/.pnpm/@node-rs+argon2-darwin-arm64@2.0.2/node_modules/@node-rs/argon2-darwin-arm64/argon2.darwin-arm64.node (1:0): Unexpected character '�' (Note that you need plugins to import files that are not JavaScript)
ERROR [commonjs--resolver] ../../node_modules/.pnpm/@node-rs+argon2-darwin-arm64@2.0.2/node_modules/@node-rs/argon2-darwin-arm64/argon2.darwin-arm64.node (1:0): Unexpected character '�' (Note that you need plugins to import files that are not JavaScript)
Proper methodology for creating UI Component Library for SSR?
clientOnly
I can't seem to export client only components from my library, as solid-start doesn't seem to recognize them as client only, even though I export them wrapped. I could create a layer in my solid-start application where I import it from the library and wrap them in clientOnly() there, but that feels weird.
Is there a "right" way to do something like this? Some industry standard I'm unaware of? Happy to hear all opinions....classList causes unnecessary re-runs (but createEffect or HTML text in the same spot doesn't)
classList
specifically seems to cause unnecessary re-runs. In the following code, createEffect
only reruns when fst()
changes (I manually examined w.fsts
). Similarly, HTML text re-runs only when fst()
changes (I only get one render for ${i}
for the element, which was updated. Yet, every single change of any element (executionState()[i]
) I get classList for ${i}
for every single of my tests()
. I don't understand why, especially considering that classList
and HTML renders are right next to each other.
```tsx
<Index each={tests()}>{(t, i) => {
console.log('Test render:', i);...Solid Start on RPi 4 Gives Illegal Instruction
vinxi v0.5.8
:
zsh: illegal hardware instruction (core dumped) npm run build
zsh: illegal hardware instruction (core dumped) npm run build
Change `query` cache lifetime
query
in Solid? I am trying to speculatively preload page data, but the preload operation is often >5 seconds before the page might actually be loaded, meaning the query cache expires.Solved: Vinxi `getRequestURL` forces SRR even when wrapped in `isServer` / `import.meta.env.SSR`
Using 'createMemo' inside JSX (to render things which are only available in sections of UI)
createMemo
for information, which is only relevant to some sections of the UI (which are rendered conditionally). Top-level (typical) createMemo
will crash because the data based on which I'd like to compute it is not available in the entire component (but it is guaranteed to be available for some sections when those sections pass conditional rendering).
Self-contained example
Gist: in case array()
is not null
, we'd like to display UI about it, which includes its sum in two different places. Challenge is to do it without double-computation and code-duplication....Properties not reactive with dynamic
js_jsx-runtime.js?v=848ce2cb' does not provide an export named 'Fragment'

Understanding action return values
Looking for a way to build a library components with Solid + Vite
rollupOptions
config part confuse me badly)
So I hope that you guys could show me a easier way or share me any repo already did it so I can learn from them. It doesn't have to stick with Vite all the time (but I appreciate the Vite dev mode though)
Thanks in advance...