uix 0.6.0 uix: ^0.6.0 copied to clipboard
Library to build Web User Interfaces inspired by React.
0.6.0 #
- Basic form components moved to uix_forms package.
- CSS Transition Container moved to uix_css_transition_container package.
0.5.2 #
- Attributes in VNodes can accept
num
andbool
types for values and will be automatically converted toStrings
.bool
type will work as html boolean attribute. - Attributes and styles in VNodes can accept
null
values. Attributes and styles withnull
value will be removed from the dom element.
0.5.1 #
- Virtual Nodes for Components are no longer responsible for calling
Component.update()
method, and now they're just creating components and passing new data. inject*
helper methods are no longer callingComponent.update()
method.- If
Component.invalidate()
method is called when Scheduler is running tasks for the currentFrame, Component is registered to thecurrentFrame
write task queue, otherwise to thenextFrame
. Component.invalidate()
will register Component in the Scheduler only when it hasshouldUpdateViewFlags
.- When Component is attached to the document, component will be invalidated.
- Added new stream
onNextFrame
to the Scheduler.
0.5.0 #
- Fixed wrong sort order for
Scheduler
write tasks. - Fixed bug with clearing wrong flag for nextTick tasks.
- Removed build step:
ComponentGenerator
andsource_gen
dependency.
0.4.0 #
createClassName
andvClassName
auto-generated functions removed. Creating Components is now possible with simplenew ClassName()
and to create virtual nodes that represent componentsvComponent($ClassName, ...)
. When metaclasses are implemented in Dart, build step will be completely removed, and it will be possible to create virtual nodes withvComponent(ClassName, ...)
. And it will be quite easy to migrate existing codebase just by removing$
prefix in allvComponent
calls.resetTransientSubscriptions
,resetSubscriptions
renamed tocancelTransientSubscriptions
andcancelSubscriptions
.- Added
type
property check when looking for similar virtual nodes.