Solid SSR Setup

Hello! I'm trying (and failing) to setup a solid ssr barebones app with rsbuild, fastify, and the solid router. I've tried to browse the web/docs for resources but can't find anything related to implementing ssr.
4 Replies
ryansolid
ryansolid2mo ago
The best example might still be in solid repo itself in the now basically deprecated solid-ssr project. It shows a simple Rollup setup but it has examples showing how to do various forms of SSR rendering.
!helloworld
!helloworldOP2mo ago
@ryansolid I need to own the node server code which is why I opted into setting up SSR myself. I've been looking into solid start though and was wondering if I could compose it down to a simple node middleware which can then be added to my node server for specific routes? Remix is an excellent example of this and a pattern I want to replicate.
ryansolid
ryansolid2mo ago
GitHub
solid/packages/solid-ssr at main · solidjs/solid
A declarative, efficient, and flexible JavaScript library for building user interfaces. - solidjs/solid
ryansolid
ryansolid2mo ago
Not solidstart which uses Nitro which there is less control over. Look in the examples folder. I have examples of each type of rendering in a folder. The "app" is in shared
Want results from more Discord servers?
Add your server