jerry
jerry2y ago

SSR with “session resumption”

Is there an ETA for server side rendering with e2e reactivity? Ik this is a hard problem to solve and I’m curious if you guys have seen any promising approaches yet thru experimentation
6 Replies
jamwt
jamwt2y ago
Yes, we have an awesome prototype we built a few months ago that we haven’t gotten around to productionizing yet. https://convex-next13-demo.vercel.app/chat/-IUjNRGdTskGADC0ULtLzA
Convex + Next.js Demo
Generated by create next app
jamwt
jamwt2y ago
Various approaches to SSR with “session resumption”—seamlessly handing off the cursor to resume the reactive SPA after app load. We’re pretty excited about it.
jerry
jerryOP2y ago
Wow this looks awesome! I really like the approach of props based SSR since it’s pretty similar to what I was using before in the app directory with other data sources
TripleSpeeder
TripleSpeeder2y ago
Uhh, really looking forward to this! 👍
Delt
Delt2y ago
Can't wait for this! Would it be flexible for other SSR frameworks as well? Some integration details would be helpful. I'm hoping to do SSR with session resumption using SolidJS and Convex
jamwt
jamwt2y ago
@Delt yeah, I'm sure the same kind of practices would work. we'd have to figure out how to tunnel through the cursor position so the session resumes smoothly. Also, personally, I'm a huge fan of solid ( https://www.youtube.com/watch?v=5Gck3MsGl5Y ) so very cool to see people doing solid + convex out there! 😄

Did you find this page helpful?