私はRactivejsを初めて使用し、単純な部分再帰を実装しようとしています...
私のテンプレートは
List:<br>
<ul>
{{#list}}
{{>lipart}}
{{/list}}
</ul>
<!-- {{>lipart}} -->
<li>{{text}} {{#children}} <ul> {{>lipart}} </ul> {{/children}}
<!-- {{/lipart}} -->
そして私のデータ:
list: [
{text:'item1'},
{text:'item2', children : [{text:'item2a'},{text:'item2b'}] },
{text:'item3'}
]
これにより、「最大呼び出しスタック サイズを超えました」というエラーが発生します。私は何を間違っていますか?