feat: allow to highlight slots and components for debugging (#942)

This commit is contained in:
Juro Oravec 2025-02-02 10:14:47 +01:00 committed by GitHub
parent da54d97343
commit de32d449d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 306 additions and 49 deletions

View file

@ -180,7 +180,7 @@ def component_post_render(
# </div>
# ```
#
# Then we end up with 3 bits - 1. test before, 2. component, and 3. text after
# Then we end up with 3 bits - 1. text before, 2. component, and 3. text after
#
# We know when we've arrived at component's end, because `child_id` will be set to `None`.
# So we can collect the HTML parts by the component ID, and when we hit the end, we join