Because just the top-level field changing invalidates everything in the sub-document, a single attribute change would trigger a re-calculation on all attributes and their dependents. This change should significantly improve performance.
9 lines
267 B
HTML
9 lines
267 B
HTML
<template name="home">
|
|
{{>loginButtons}}
|
|
<div>
|
|
{{# each characters}}
|
|
<li><a href="{{ pathFor 'character' }} ">{{_id}}</a> <button id="deleteChar">delete</button></li>
|
|
{{/each}}
|
|
</div>
|
|
<input id="addCharacter" type="button" value="Add Character">
|
|
</template> |