Skip to content

How to translate to dictionary/list node #50

@nanfang2000

Description

@nanfang2000

It is very interesting project. However, I'd like to translate to a dictionary node than a class object.
How should I look into?
I mean:
<Hello name = "World" />
could translate to
{ 'type':Hello, 'props': { 'name': "World", } }
Why I need this is because it can be lighter than class object.
I can use it for VDOM diff directly.

or translate to a node object.
Node(type=Hello, props = {'name': "World"})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions