Thread of 4 posts1 min read

Effect-native React Server Components

  1. 1/41 reply0 reposts1 like
  2. You write server components and server functions using Effect, and it integrates into React and the framework (Next.js adapter in the repo) to scope resources to the request or the process

    2/41 reply0 reposts0 likes
  3. I'm still not sold on the syntax noise, it feels weird when you're trying to just compose UI. But if all of your data layer and business logic is in already in Effect it might make sense instead of doing `await Effect.runPromise(e)` in every server component

    3/41 reply0 reposts0 likes
  4. It's massively inspired by Effective RSC. It extracts the parts out that make sense for use in a framework agnostic way

    www.nikhilsnayak.dev
    Introducing effective-rsc

    An Effect-native React Server Components framework for Bun, built on Rspack and the Navigation API.

    4/40 replies0 reposts0 likes