reactify 1.1.1 reactify: ^1.1.1 copied to clipboard
This library makes it easier to build reactive user interface components in pure Dart. It is intended to be used in framework-less web development.
Examples #
To view either example in action, click on the link to the hosted version below.
To develop with either example, run $ webdev serve
(docs) within the example's directory (must be at the same level as a pubspec.yaml
). Useful flags: $ webdev serve --auto refresh --launch-in-chrome
counter #
A simple counter featuring a root component with state
and a sub-component that inherits its handlers
from root and reads its own computedState
.
catch_me_game #
A find-the-number game featuring a toggle for the UI's globalState; root component with state
, computedState
, and handlers
; multiple sub-components; a hidden component; conditional logic; and CSS styling.