Content Creator, Software Architect
Core team @solidjs.com
Organizer @momentumdevcon.com
youtube.com/@devagr
twitch.tv/devagrawal09
bsky.app/profile/rick...
bsky.app/profile/rick...
solidstart uses "use server" compiler directive, svelte uses .remote.ts, both require bundler plugins to work.
this has nothing to do with SSR, this is making an RPC call to the server to fetch posts when the component is rendered on the client
solidstart uses "use server" compiler directive, svelte uses .remote.ts, both require bundler plugins to work.
this has nothing to do with SSR, this is making an RPC call to the server to fetch posts when the component is rendered on the client
If the above solid example was written with 2.0 primitives, you can very easily add a pending indicator using `isPending`, which can work with data that is async or derived from async sources.
If the above solid example was written with 2.0 primitives, you can very easily add a pending indicator using `isPending`, which can work with data that is async or derived from async sources.
This discussion is about the default behavior you get out of the framework, and how easy is it for the developer to opt in to a different behavior and/or a pending indicator.
This discussion is about the default behavior you get out of the framework, and how easy is it for the developer to opt in to a different behavior and/or a pending indicator.
To be honest, none of them are great options for the UX, which means ultimately it is the developer's responsibility to add pending indicators to let the user know something is happening or some data is out of date.
To be honest, none of them are great options for the UX, which means ultimately it is the developer's responsibility to add pending indicators to let the user know something is happening or some data is out of date.
2 - Hold, or keep the previous consistent state on the screen until the async completes.
3 - Tear, or show state updates as they come in on the UI.
2 - Hold, or keep the previous consistent state on the screen until the async completes.
3 - Tear, or show state updates as they come in on the UI.
i just see this
i just see this