You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current template tag {% component "ComponentName" %} used for rendering React components is too generic. The term "component" is broadly used in many contexts, leading to potential confusion. For example, the library django-components uses a tag called component. I think the idea presented in that library is useful and while we may not necessarily use it specifically I can see us adopting something like it for encapsulating re-usable django template based components (that may themselves use a React component).
To make it clear that this tag is specifically for React components, I propose renaming it to {% react_component %} or similar.
The text was updated successfully, but these errors were encountered:
The current template tag
{% component "ComponentName" %}
used for rendering React components is too generic. The term "component" is broadly used in many contexts, leading to potential confusion. For example, the library django-components uses a tag calledcomponent
. I think the idea presented in that library is useful and while we may not necessarily use it specifically I can see us adopting something like it for encapsulating re-usable django template based components (that may themselves use a React component).To make it clear that this tag is specifically for React components, I propose renaming it to
{% react_component %}
or similar.The text was updated successfully, but these errors were encountered: