A wip package to enable fullstack React + Effect applications.
bun init
bun add effect react react-dom react-effect
bun add @effect/platform @effect/platform-bun
bun add --dev @types/react @types/react-domThen checkout the Bun SSR Example. This also works with Node and Deno runtimes. Just replace @effect/platform-bun with @effect/platform-node.
// rest of the example is the same
export const server = Layer.provide(app, NodeHttpServer.layer({ port: 3000 }));
if (import.meta.main) {
NodeRuntime.runMain(Layer.launch(server));
}This project is MIT Licensed. Any contrubutions should also be MIT Licenced.