Skip to content
This repository was archived by the owner on Nov 12, 2024. It is now read-only.

使用jsx去写magix #49

Description

@purplebamboo

目前 magix本身已经支持了虚拟dom diff。

但是做的是先模板编译,再运行时字符串转换到vdom,再去diff

这带来一些问题:

  • 模板编译这块因为是渲染之后变成,需要处理很多html实体转换的问题,参数透传也很麻烦
  • 运行时转换vom性能应该比较差,当然期待后续的具体测试。

另外,项目人员使用magix时经常会纠结语法的问题。

基于这些考虑,我们是否可以直接用jsx去写magix解决这些问题。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions