Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Roadmap to V2Β #696

Description

@jorgebucaran

As most of you may be well aware of, Hyperapp 2.0 is coming #672. πŸŽ‰

Here's my todo list before I am ready to publish its beta test version.


  • Split up code base into one file per every function (clone.js, patch.js, h.js, app.js, etc.)
  • Optimize defer function. Instead of setTimeout, use Promise.resolve (faster).
  • Implement new internals dispatch, setState, runCommand, render.
  • Update DOM manipulation functions (patch, createElement, updateAttribute) to accept resolveNode and eventProxy).
    • Implement new resolveNode to support children as a prop.
    • Determine how the new lazy components (dynamic) components will be implemented, e.g., passing dispatch as the second argument to every component or similar.
  • Implement the Subscriptions API.
    • [ ] Publish an independent library that demonstrates (or expands on) these ideas to start a discussion.
  • [ ] Implement targeted merges.
  • Add support to updateAttribute to compute a Element.className from an object, similar to classcat, but built-in.
  • Fix and add new tests.
  • Decide how the middleware API should work. /cc @okwolf

Your comments and feedback, please! πŸ™

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions