mirror of
https://github.com/django-components/django-components.git
synced 2025-08-31 19:27:19 +00:00
fix/263 performance regression (#264)
* Replace deep copies in Component.render * Add 2nd example component to sampleproject
This commit is contained in:
parent
2cfc7285e1
commit
6f49339c91
4 changed files with 32 additions and 7 deletions
|
@ -1 +1,13 @@
|
|||
<div class="calendar-component">Today's date is <span>{{ date }}</span></div>
|
||||
<div class="calendar-component">
|
||||
<div>Today's date is <span>{{ date }}</span></div>
|
||||
<div>Your to-dos:</div>
|
||||
<ul>
|
||||
<li>
|
||||
{% component_block "todo" %}
|
||||
{% fill "todo_text" %}
|
||||
Stop forgetting the milk!
|
||||
{% endfill %}
|
||||
{% endcomponent_block %}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue