{"repo":"nosco/hx","free":true,"listed":false,"github":"https://github.com/nosco/hx","clone":"git clone https://github.com/nosco/hx.git","description":"A simple, easy to use library for React development in ClojureScript.","language":"Clojure","stars":245,"topics":["react-components","hiccup","clj","clojurescript","react","react-hooks","hiccup-interpreter","cljs"],"license":"MIT","category":"ui-components","readme_excerpt":"hx A simple, easy to use library for React development in ClojureScript. Update - Transfer of ownership The original author has kindly agreed to transfer ownership of this project to Nosco. We're using hx in production and don't expect any breaking changes, but we are fixing small issues and minor quality of life improvements as we find them. Development from the original author has moved to helix. Helix is the latest version of hx, with some breaking changes (no hiccup parser, slightly different hooks API, and a focus on compile-time semantics). Example Dependencies You'll want to make sure you have the latest version of react , and whatever renderer you are targeting (e.g. react-dom ). If you want to use the React Hooks API ( hx.hooks ), you'll need to ensure you are using React 16.8 or later. What problems does hx solve? hx is meant to make it simple, easy and fun to use React.js within ClojureScript. It is your bridge to the wide world of React.js in idiomatic CLJS. The library is split into (currently) three sections, which you can feel free to mix as your project sees fit: 1. A hiccup interpreter. Takes in [:div {:style {:color \"red\"}} [:span \"foo\"]] and spits out React.createElement calls. 2. Helpers for creating components. defnc and defcomponent help us write plain React.js components in idiomatic ClojureScript. 3. Helpers for using React Hooks. What problems does hx not solve? No opinionated state management, no custom rendering queue. Use it to build your awesome o","default_branch":null,"files":null,"tree":[],"storefront":"/r/nosco","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nosco/hx/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}