deact 1.0.0-nullsafety.0 deact: ^1.0.0-nullsafety.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 #
v1.0.0-nullsafety.0 #
- BREAKING CHANGE: Migrated to null safety.
v0.7.0 #
- BREAKING CHANGE: The stream returned by Ref.onChange is now a broadcast stream.
v0.6.0 #
- BREAKING CHANGE: creating an initial value for a state or reference using a
InitialValueProvider
is moved to the separate methodsstateProvided()
andrefProvided()
. - BREAKING CHANGE: it is no longer possible to decide on component level if a state / reference is global or not.
- It is now possible to decide on state / reference level if the state / reference is global or not.
v0.5.1 #
- Initial values for states and references can now alternatively be provided by a function.
v0.5.0 #
- BREAKING CHANGE: renamed
ComponentRenderContext
toComponentContext
. - BREAKING CHANGE: The parameter
key
is 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.
v0.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.
v0.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
v0.3.2 #
- Childs of a node can now be provided as a
Iterable
instead as only aList
.
v0.3.1 #
- Fix: Setting the attributes
selected
andchecked
had not has any effect, if a user interaction has changed the underlying properties
v0.3.0 #
- BREAKING CHANGE: Renamed
Node
toDeactNode
to avoid name conflicts with the Node class from thedart:html
package
v0.2.0 #
- Added global references (see
globalRef()
andComponentRenderContext.globalRef()
) - A
Ref
now provides a stream of change events - BREAKING CHANGE: Renamed
globalStateProvider()
toglobalState()
- BREAKING CHANGE: Renamed
Component
toComponentNode
,Element
toElementNode
,Text
toTextNode
andFragment
toFragmentNode
to avoid name conflicts with thedart:html
package
v0.1.1+2 #
- Bug fix for references
v0.1.1+1 #
- Fixed documentation
v0.1.1 #
- Added references
v0.1.0+1 #
- Fixed some maintenance and health issues
v0.1.0 #
-
Intial release