Detect when client closes a connection that is being streamed from a server function
dealing with data shared between pages
/groups/[groupId]
. here i render out a heading with the group name (which of course i already fetched on the previous page) and then all the rest of the page, which takes a bit to render due to fetching im waiting on. it is a nice touch if the heading renders while the rest of the page loads via suspense. this seems like a no brainer as i already have the data i wanna show.. i just don't know the best way to get it where i need it...weird history/url derived state behavior when using mouse back button
How to access env variables inside app.config.ts (solid-start)?
How to include Gzip compression to Solid Start project?
How to do Dark Theme (shadcn-solid + Vite + Tauri)
Prerender not working without javascript
Optimistically change URL and state without waiting for async to resolve
Multiple layouts using `Router`
Missing SSR component after client side navigation (help with icons library SSR)
Can't start solid start project

Run server code only once
utils/db.ts
looks like:
```ts
import { Database } from "db"...[h3] [unhandled] H3Error: Client-only API called on the server side. Run client-only code in onMount
Solidstart Hydration error when using show and jsx element
Setting infinitely deep store?
type Element = {
elements?: Element[]
content?: Content[]
}
type Element = {
elements?: Element[]
content?: Content[]
}
Difference between `effect` and `createEffect`
createEffect
for effects from solid-js
But effect
also exists as an import from solid-js/web
What is the difference between them?...Behavior of query.set / cache.set
.set
function on query
(previously named cache
) but can't seem to get it to mutate any data. Calling it seems to have no effect on createAsync
stores.
A couple threads have asked about this but have not received answers. Would anyone be able to shed light on the subject?...How to improve list rendering performance?
Error handling with chained resources.
How to handle reactivity in this example?
Project
type I have a context provider that provides the store of Project
. So in my components I grab it like so - const { project, setProject } = useProject()
.
I have a separate components that is supposed to render project.nodes
and it uses SortableJS
.
This component grabs project store from context and then renders items inside a custom Sortable
component. It all works fine, until I try to update the state on reorder....