0.0.1-b • Published 3 years ago

tngio v0.0.1-b

Weekly downloads
34
License
MIT
Repository
-
Last release
3 years ago

tngIO

tngIO ('tiNG-ee-yo) is a framework that implements React-like Hooks on top of the IO monad (from Monio). This project is an evolution of TNG-Hooks.

Overview

The "big idea" here is that we can achieve a more FP-adherent approach to declarative-component UI if we model state management (like useState(..)) via the IO (Reader) monad, and effects (like useEffect(..)) modeled as asynchronous IO (Task) side effects. By modeling component capabilities as IO monad values, we can use typical FP techniques (monadic-style) for composition and update of the UI.

Unlike React which uses JSX, tngIO uses htm for declarative component-markup DOM.

Think of tngIO as the "FP version" of a framework like React.

License

All code and documentation are (c) 2021 Kyle Simpson and released under the MIT License. A copy of the MIT License is also included.

0.0.1-b

3 years ago

0.0.1-a

3 years ago

0.0.0

3 years ago