A simple, easy-to-use library for React development in ClojureScript, providing a Clojure-y interface to React.
hx is a library for React development in ClojureScript that provides a simple, idiomatic interface to React. It solves the problem of integrating React.js with ClojureScript by offering Hiccup interpretation, component helpers, and React Hooks support, enabling developers to build React applications using ClojureScript syntax.
ClojureScript developers who want to use React for building user interfaces without leaving the Clojure ecosystem, and those seeking a lightweight alternative to more opinionated ClojureScript React wrappers.
Developers choose hx for its simplicity, minimal abstraction, and full interoperability with React, allowing them to leverage existing React libraries while writing idiomatic ClojureScript code.
A simple, easy to use library for React development in ClojureScript.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Transforms Hiccup into React.createElement calls, enabling declarative UI definition in idiomatic ClojureScript, as demonstrated in the example code with hx/f.
Allows direct use of any React library or higher-order component, providing seamless integration with the React ecosystem, as highlighted in the key features.
No opinionated state management or custom rendering, letting developers choose their own architecture, per the library's unopinionated design philosophy.
Includes helpers like hooks/useState for using React Hooks within ClojureScript components, supporting modern React development patterns.
The original author has moved to Helix, and while maintained by Nosco for fixes, major updates are unlikely, as noted in the transfer of ownership.
Requires developers to implement or integrate external state solutions, adding complexity for projects that prefer integrated tools, as admitted in 'What problems does hx not solve?'.
The Hiccup interpreter adds a runtime layer that may impact performance compared to compile-time alternatives like Helix, which omits this feature.