{"repo":"ms-jpq/noact","free":true,"listed":false,"github":"https://github.com/ms-jpq/noact","clone":"git clone https://github.com/ms-jpq/noact.git","description":"Minimalist React (< 70 lines)","language":"TypeScript","stars":322,"topics":["react","virtual-dom","typescript"],"license":null,"category":"ui-components","readme_excerpt":"Re Noact Noact is a minimal self-rendering Virtual DOM library. - Declarative: Pretty much like React, without the JSX compilation of course, hence the name. - Type safe: Noact is completely typesafe, which means you get [static type checking][auto complete gif] for free! - Simple: [Only 60 lines][60 lines] of type declarations & rendering code. (and 10ish lines of code-gen code) Example App How it feels to write Noact ![demo.gif] \\- Explosions \\- Even has support for style auto complete ![typedemo.png] Usage Noact is inspired by the syntax of the [elm HTML engine][elm html] component1 is a memoized () = HTMLElement function, component1() will give you back You can use component1 as it is, or compose it in a Virtual DOM configuration Here the root element will be populated with both component1 and span . Every 1000ms, #root span and only #root span will be updated. In essence, component1 is both the rendering function, and the virtual DOM. License [MIT License][mit] [demo.gif]: https://raw.githubusercontent.com/ms-jpq/Noact/noact/ assets/demo.gif [typedemo.png]: https://raw.githubusercontent.com/ms-jpq/Noact/noact/ assets/type demo.png [auto complete gif]: https://github.com/ms-jpq/Noact/blob/noact/ assets/auto complete.gif [elm html]: https://package.elm-lang.org/packages/elm/html/latest/ [mit]: https://github.com/ms-jpq/Noact/blob/noact/LICENSE [60 lines]: https://github.com/ms-jpq/Noact/blob/noact/src/noact.ts","default_branch":null,"files":null,"tree":[],"storefront":"/r/ms-jpq","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ms-jpq/noact/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."}