Reagent is a minimalistic ClojureScript interface to React that enables developers to write efficient React components using plain ClojureScript functions and data, leveraging a Hiccup-like syntax and immutable state to simplify UI creation. React is pretty darn fast, and so is Reagent. It should even be faster than plain old javascript React a lot of the time, since ClojureScript allows us to skip a lot of unnecessary rendering (through judicious use of React's shouldComponentUpdate). The ClojureScript overhead is kept down, thanks to lots of caching. Code size is a little bigger than React.js, but still quite small. The todomvc example clocks in at roughly 79K gzipped, using advanced compilation.
Features
- Define components with just ClojureScript functions
- Hiccup-style syntax for UI markup
- Uses Reagent atoms (ratoms) for reactive state management
- Fast DOM diffing and re-rendering via React virtual DOM
- Minimal boilerplate—easy to get started and concise
- Seamless integration with popular frameworks like re-frame and React ecosyste
Categories
FrameworksLicense
MIT LicenseFollow Reagent
Other Useful Business Software
Raima Database Manager is an embedded in-memory database for IoT and Edge devices
Raima Database Manager (RDM) is an embedded relational database optimized to run on resource-constrained IoT edge devices that require real-time response. RDM enables intelligent decisions to be made at the device level within microseconds.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Reagent!