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
Ship Agents Faster
Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Reagent!