Why would you use RedwoodSDK (over other frameworks):
(I have a bunch of questions that would help validate my answer; but I'll just make some assumptions right now, so take this with a grain of salt!)
RedwoodSDK:
- built from scratch to run on workerd: SSR, RSC, and routing all "battle-tested" in the Cloudflare environment.
- We are an RSC framework. Neither I or
@__justinvdm have ill feelings towards RSC. We think it's brilliant, and we've embraced it fully and openly.
- You have absolute control of everything you see on the page. The `render` function allows you to define the html document, even down to how React hydrates the client side Payload. Or not! The implication here is that you can just do static site rendering.
- We believe in request/response, routing is server-side (Not a SPA -- but since you control everything you could enable this): This means you get sessions, HTTP headers, all the good stuff that makes the web fast and idiomatic.
- There's no magic. No special "exported functions, data loaders, etc" which means no transpilation or things you have to learn. Just write Typescript.
- You can colocate API responses and pages in the same "routes.ts" file. Co-location is one of the principles that makes React feel amazing.
- The entire framework is not a lot of code. We are leveraging Web APIs, web standards, and browser-based technologies. No abstractions mean that you spend less time "integrating."