{"repo":"elbywan/hyperactiv","free":true,"listed":false,"github":"https://github.com/elbywan/hyperactiv","clone":"git clone https://github.com/elbywan/hyperactiv.git","description":"A super tiny reactive library. :zap:","language":"JavaScript","stars":446,"topics":["computed","properties","reactive","javascript","react","es6-proxies"],"license":"MIT","category":"ui-components","readme_excerpt":"Hyperactiv A super tiny reactive library. ⚡️ Description Hyperactiv is a super small ( 1kb minzipped) library which observes object mutations and computes functions depending on those changes. In other terms whenever a property from an observed object is mutated , every function that depend on this property are called right away. Of course, Hyperactiv automatically handles these dependencies so you never have to explicitly declare anything. ✨ ---- Minimal working example Demo Paint demo React store demo React hooks demo Setup Import Hyperactiv is bundled as an UMD package. Usage 1. Observe object and arrays 2. Define computed functions 3. Mutate observed properties 4. Release computed functions Add-ons Additional features that you can import from a sub path. - hyperactiv/react A simple but clever react store. - hyperactiv/http A reactive http cache. - hyperactiv/handlers Utility callbacks triggered when a property is mutated. - hyperactiv/classes An Observable class. - hyperactiv/websocket Hyperactiv websocket implementation. Performance This repository includes a benchmark folder which pits hyperactiv against other libraries. Important: the benchmarked libraries are not equivalent in terms of features, flexibility and developer friendliness. While not the best in terms of raw performance hyperactiv is still reasonably fast and I encourage you to have a look at the different implementations to compare the library APIs. For instance there is no .get() and .set() wrappers when ","default_branch":null,"files":null,"tree":[],"storefront":"/r/elbywan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/elbywan/hyperactiv/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."}