A simple framework for humans. Server-first React, running on the Cloudflare platform. Simple to build. Easy to maintain.

RedwoodSDK retweeted
"Resumable streams" should be relatively easy to achieve with Durable Objects, yeah?
We're cooking up a mechanism to seamlessly resume streams and share state across Fluid functions. AI apps pose an interesting challenge to developers: they need to stream feedback in realtime, they have multiple agents behind the scenes, the conversation needs to be shareable, resumable, survive network disconnections. Even with socket.io, this kind of stuff was non-trivial. You always need a durability source (in this demo below, you can see the 'stream id' in the URL), so a stateful bidirectional transport like WebSocket is *not enough*. Not only is it not enough, it's also not necessary (the demo below uses good ol' HTTP streaming). Also: what happens if the stateful Node WebSocket server was re-deployed mid-stream? or if it crashed? how do the streams recover? I'm excited for @vercel to give you all the primitives to execute on applications that raise the bar on not just performance, but also on fault tolerance. h/t @cramforce for sweating the details here.
9
1
76
12,450
RedwoodSDK retweeted
Alchemy’s Durable Object automatically handles migrations. E.g. if you change the class name, it will detect it and migrate when updating the worker script.
Still working through if we should add this to wrangler, but in the meantime I've published this prototype to NPM as declare-objects since I've been using it so much. Run npx declare-objects in any TypeScript Workers project and it'll automatically add a declaration and migration for any Durable Objects that need them.
3
2
37
4,971
🔥
Replying to @samgoodwin89
@lockr07 got @RedwoodJS working and is now building SQL migrations into the D1Database Resource. Pumped for this and the continuing Drizzle+CF story. github.com/sam-goodwin/alche…
7
811
Replying to @mattpocockuk
Future frameworks will ship cursor rules baked in. Check @RedwoodJS .
1
1
6
514
Nothing says Easter like colorful eggs, retro gadgets, and a thrilling hunt… for bugs that definitely weren’t there yesterday. 🐣💾🐛
2
14
860
Ever felt overwhelmed by boilerplate code and convoluted setups? RedwoodSDK understands your pain and offers a streamlined approach to building web apps. Let’s make development enjoyable again. #RedwoodSDK docs.rwsdk.com/
2
14
891
Tired of frameworks that promise simplicity but deliver complexity? RedwoodSDK embraces the messiness of real-world development, offering tools that adapt to your needs without the fluff. #RedwoodSDK rwsdk.com
1
2
22
946
Built on Standards The Web Platform is the framework. Request and Response are the native API. Stream responses, upgrade protocols, debug in DevTools. No abstractions, no black boxes.
1
1
22
1,453
RedwoodSDK retweeted
if I wasn't dogfooding orange so hard I'd be using @RedwoodJS for everything
3
3
19
2,589
When you code an app that "chats" with AI it returns the response as a stream (of consciousness?): Chunk-by-chunk. In order to make your UI feel responsive, you can pass the stream back to the client, consume it, and update the UI bit-by-bit.
2
5
643
RSC by default in RedwoodSDK
2
1
10
1,727
RedwoodSDK retweeted
We've been parsing Dan's "JSX Over the Wire[1]", and whilst we don't do partial re-rendering in @RedwoodJS SDK, we do actually use Server Functions, websockets via @CloudflareDev DO, and React Client side re-rendering to facilitate real-time functionality. - The "server" is the state. - A server function changes the states. - This triggers a broadcast (with the new flight data) to the clients on the same key. - UI is updated. Example repo: github.com/redwoodjs/kitchen…
Here's a demo of RedwoodSDK's realtime broadcasting using @Cloudflare Durable Object to keep clients in sync. Durable objects scale infinitely. Everyone gets a socket connection! Behind the scenes this is just a React Server function, which broadcasts the changes to all client's on the same key. The React Server Component is re-rendered, payload is shipped to all clients, and hydrated client side. github.com/redwoodjs/kitchen…
2
2
24
2,656
lol no shade but cloudflare has had this since at least 2016
23
12
1,103
63,631
RedwoodSDK retweeted
Region: Earth: Cape Town ✈️ Region: Earth: London
Meet real-world builders from the @CloudflareDev community at Region: Earth: London on May 1 🇬🇧 🎙️ Featuring @megaconfidence (Cloudflare) Gemma Anible (Prisma) @NatalieMarleny (Gitlip) @appfactory (Redwood) Come for the edge + serverless stories. Stay for pizza + dev banter. 🗣️
1
6
819
RedwoodSDK retweeted
this really is the geocities era of ai
2
2
29
2,354