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
Gemini 3 and 200+ AI Models on One Platform
Build generative AI apps with Vertex AI. Switch between models without switching platforms.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Reagent!