RSC for LISP Developers — overreacted
13 hours ago
- LISP treats code as data through quoting, allowing code to be unevaluated and manipulated as a first-class primitive.
- React Server Components (RSC) use a 'use client' directive to quote client code from the server, treating it as opaque data similar to LISP quoting.
- RSC enables composing server and client behaviors modularly, with server parts guaranteeing single roundtrip execution and progressive streaming.
- RSC is less powerful than LISP quoting because evaluation is prescribed by React, lacking metaprogramming for transforming code.
- LISP has richer solutions for multi-environment code composition, like Electric, which are less familiar to JavaScript developers.