Web components are now standard HTML without JS frameworks, so that could be supported by Django. In which case, even StencilJS tsx components would work out of the box.
Prior to rendering, a middleware could scan the response and add the registered scripts/styles for the custom HTML tags it finds. This would be a lot more convenient than form media, more portable and cover the full spectrum of use cases. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/ILpwAOlivF-u3TTxhq0HgKy4CLazC_L3-bGQ8DFUE4Wsg5Ai6hgArNoyfR74J5mPdTIjfJP3iyS09F55wE0UxQJqtJqPo_BXQmfBs1Y8Yb4%3D%40protonmail.com.