We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 571a488 commit 38825ffCopy full SHA for 38825ff
test/ssr/ssr-string.spec.js
@@ -1541,6 +1541,24 @@ describe('SSR: renderToString', () => {
1541
done()
1542
})
1543
1544
+
1545
+ it('handling max stack size limit', done => {
1546
+ const vueInstance = new Vue({
1547
+ template: `<div class="root">
1548
+ <child v-for="(x, i) in items" :key="i"></child>
1549
+ </div>`,
1550
+ components: {
1551
+ child: {
1552
+ template: '<div class="child"><span class="child">hi</span></div>'
1553
+ }
1554
+ },
1555
+ data: {
1556
+ items: Array(1000).fill(0)
1557
1558
+ })
1559
1560
+ renderToString(vueInstance, err => done(err))
1561
1562
1563
1564
function renderVmWithOptions (options, cb) {
0 commit comments