Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants