Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.6.0 #14

Merged
merged 36 commits into from
Jun 18, 2018
Merged

Version 0.6.0 #14

merged 36 commits into from
Jun 18, 2018

Conversation

mbasso
Copy link
Owner

@mbasso mbasso commented Mar 26, 2018

Here is a list of tasks that need to be done to release version 0.6.0 of asm-dom.
We want to improve the performance, support DocumentFragments and add a ref callback to let users modify DOM nodes directly.
We also need to create a deleteVNode API to substitute the actual destructor. In this way we can choose if we want to destroy a single VNode or a VNode tree, here is an example:

VNode* child1 = h("h1", string("Headline"));
VNode* child2 = h("p", string("A paragraph"));
VNode* vnode1 = h("span", Children {
  child1,
  child2,
});

// delete vnode1 but not child1 and child2 from memory
delete vnode1;

// reuse child1 and child2
VNode* vnode2 = h("div", Children {
  child1,
  child2,
});

// delete vnode2, child1 and child2 from memory
deleteVNode(vnode);
  • deleteVNode
  • support DocumentFragment
  • ref callback
  • improve performance
  • update benchmarks screenshots
  • brotli compression
  • JS tests
  • C++ tests
  • C++ documentation
  • JS documentation
  • update README roadmap

@mbasso mbasso merged commit 1b209b4 into master Jun 18, 2018
@mbasso mbasso deleted the 0.6.0 branch June 18, 2018 14:18
@mbasso mbasso restored the 0.6.0 branch June 18, 2018 14:30
@mbasso mbasso deleted the 0.6.0 branch July 24, 2018 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant