Comments (3)
Still working on opinionated pieces here. Generally speaking the docs on createResource
on the solidjs.com and the data functions for the solid-app-router are what you are looking and will automatically take care of data serialization. This project is still in alpha. The best example I can give you right now is: https://github.com/solidjs/solid-hackernews/tree/vite-ssr
from solid-start.
Thanks, that helps a lot!
from solid-start.
Checkout what we are doing with server
functions now #48. Its an easy way to add server-side data fetching. Documentation is still incoming.
from solid-start.
Related Issues (20)
- [Bug?]: Edits to CSS modules do not trigger HMR and won't update without a page refresh HOT 7
- [Bug?]: required `<style>` tag is removed on navigation
- SSR with `<Suspense/>` doesn't work anymore as it used to HOT 10
- Use CLI command to create a project, throw error: Something went wrong HOT 2
- [Bug?]: HMR briefly updates before reverting in docker container with windows host. HOT 2
- [Bug?]: Page Nav randomly into Blank, with "Uncaught (in promise) SyntaxError: missing ) after argument list"
- [Bug?]: <HttpStatusCode> doesn't work in mode:async HOT 2
- [Bug?]: unclosed-tags inside of innerHTML result in hydration mismatch HOT 2
- [Bug?] The response ignores multi-valued headers HOT 1
- [Ecosystem CI]: Integration in the vite-ecosystem-ci HOT 1
- [Bug?]: Erroneous 404s when rapidly switching routes HOT 4
- [Feature?]: I would like to be enable to pass a router before ssr, so any microframework (backend) can be bridged HOT 2
- [Bug?]: No route matched for preloading js assets HOT 8
- [Bug?]: createResource() throws "Hydration Mismatch" errors on page load HOT 1
- How to create a SSG site? HOT 6
- [Bug?]: Middleware with returned undici response ignores the content-type if the response body is async. HOT 4
- [Bug?]: client only doesn't work anymore for `props.children` HOT 6
- [Bug?]: Catch-all that starts with number after ellipsis in filename causes hydration errors in nested paths on dev HOT 1
- [Bug?]: Latest Vinxi (>= 0.3.11) causes layout shifts in dev HOT 4
- [Bug?]: Unable to use `ErrorBoundary` when throwing Error from cached function in combination with `load` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solid-start.