vdom 0.2.0 copy "vdom: ^0.2.0" to clipboard
vdom: ^0.2.0 copied to clipboard

outdated

Virtual DOM diff/patch.

VDom - Virtual DOM diff/patch #

Virtual DOM diff/patch implementation inspired by ReactJS Reconciliation.

Usage example #

import 'package:vdom/vdom.dart';

main() {
  final a = new VElement('unique_key', 'div');
  final aHtmlElement = a.render();

  final b = new VElement('unique_key', 'div');
  b.children = [new VText('text_key', 'Text Content')];

  final patch = a.diff(b);

  patch.apply(aHtmlElement);
}
0
likes
0
points
142
downloads

Publisher

unverified uploader

Weekly Downloads

Virtual DOM diff/patch.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection

More

Packages that depend on vdom