deact 0.5.0
deact: ^0.5.0 copied to clipboard
A web UI framework inspired by React. The main building blocks are components, which can be implemented as classes or functions.
Changelog #
0.5.0 #
- BREAKING CHANGE: ranmed
ComponentRenderContexttoComponentContext. - BREAKING CHANGE: The parameter
keyis now named instead of positional. - It is now possible to make states and/or references of a component global to its children.
- It is now possible to register a listener to be called after the node hierarchy was rendered.
0.4.1 #
- A component can make its states or references global to its children by implementing [GlobalStateProbider] or [GlobalRefProvider]. Thus, it is no longer necessary to always add an extra level to the node hierarchy if a global state or reference is required.
0.4.0 #
- BREAKING CHANGE: The root node of a Deact application now has to be provided by a function to the entrypoint
deact() - It is now possible the get the render time of the last update to the DOM
- Applied pub.dev health suggestion
- Added pedantic linter rules
- Enabled strict type checks
0.3.2 #
- Childs of a node can now be provided as a
Iterableinstead as only aList.
0.3.1 #
- Fix: Setting the attributes
selectedandcheckedhad not has any effect, if a user interaction has changed the underlying properties
0.3.0 #
- BREAKING CHANGE: Renamed
NodetoDeactNodeto avoid name conflicts with the Node class from thedart:htmlpackage
0.2.0 #
- Added global references (see
globalRef()andComponentRenderContext.globalRef()) - A
Refnow provides a stream of change events - BREAKING CHANGE: Renamed
globalStateProvider()toglobalState() - BREAKING CHANGE: Renamed
ComponenttoComponentNode,ElementtoElementNode,TexttoTextNodeandFragmenttoFragmentNodeto avoid name conflicts with thedart:htmlpackage
0.1.1+2 #
- Bug fix for references
0.1.1+1 #
- Fixed documentation
0.1.1 #
- Added references
0.1.0+1 #
- Fixed some maintenance and health issues
0.1.0 #
- Intial release