
SolidStart Has a Free Framework: Server-Side Rendering with Fine-Grained Reactivity
Why SolidStart? SolidStart is the meta-framework for SolidJS - the UI library with fine-grained reactivity that skips the virtual DOM entirely. If you want React-like DX with significantly better runtime performance, SolidStart gives you SSR, routing, and server functions out of the box. Quick Start npm init solid@latest my-app cd my-app npm install npm run dev Server Functions (RPC) // src/lib/api.ts ' use server ' ; import { db } from ' ./db ' ; export async function getPosts ( query ?: string ) { return db . posts . findMany ({ where : query ? { title : { contains : query } } : undefined , orderBy : { createdAt : ' desc ' }, take : 20 , }); } export async function createPost ( title : string , body : string ) { if ( ! title || ! body ) throw new Error ( ' Title and body required ' ); return db . posts . create ({ data : { title , body } }); } export async function deletePost ( id : string ) { return db . posts . delete ({ where : { id } }); } Routes with Data Loading // src/routes/p
Continue reading on Dev.to JavaScript
Opens in a new tab



