Core features of Electric Clojure
masterElectric provides several key abstractions for full-stack development:
- Fully Reactive: Reactivity is a first-class citizen of the language (e.g.,
reactive-if,reactive-for, reactive lambdas). It avoids the need for manual observable management or async types. - Multi-tier: Frontend and backend logic are defined in the same expressions, allowing the compiler to handle code splitting rather than requiring the developer to architect around a boundary.
- Network-transparent: Closures can close over both server and client scope bindings seamlessly.
- Strong Composition: Because the system is built on Lisp, you have access to the full power of functional composition, including recursion, higher-order functions (HOFs), and macros, across the entire system.