Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

upcoming v3 changes #147

Closed
Closed
Labels
@leeoniya

Description

@leeoniya
  • views will no longer be auto-keyed by the passed-in model. it's too surprising and i've had to explain it too many times. explicitly keying by the model when needed isnt all that difficult.
  • domvm.lazyList() creator &domvm.LAZY_LIST flag for creating deferred homogenous children that can reuse old vnodes without additional allocation.
  • render() will be able to returnvm.node (the old vnode) to prevent/optimize redraw when no changes.
  • xlink:href support in svg
  • vm.diff() &vm.hook() will be removed in favor of what is already possible:
    • direct assignmentvm.hooks = {}
    • new:vm.config({hooks:..., diff...})
    • object return{hooks: ..., diff:..., render: ...}
    • externally passing in through opts:{hooks: ..., diff: ...}
  • dist builds may be split into a separate branch, since merging and rebasing are currently a nightmare and always result in conflicts.

v3 should be ready within the next couple weeks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp