Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Warn users if using abnormally long tree depth #22

Open
Archmonger opened this issue Feb 8, 2023 · 0 comments
Open

Warn users if using abnormally long tree depth #22

Archmonger opened this issue Feb 8, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Archmonger
Copy link
Contributor

Archmonger commented Feb 8, 2023

If someone has an idom.html tree that spans >= 5 levels deep, we should probably generate a warning that they should splitting it apart into components.

For example

html.div(
    html.div(
        html.div(
            html.div(
                html.div(
                    html.div("Hello World"),
                ),
            ),
        ),
    ),
)
@Archmonger Archmonger added the enhancement New feature or request label Feb 8, 2023
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants