Skip to content

Server side render error RangeError: Maximum call stack size exceeded #5444

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pathawee opened this issue Apr 14, 2017 · 1 comment
Closed

Comments

@pathawee
Copy link

screen shot 2560-04-14 at 9 11 18 pm

I got this error when I use v-for dynamic components on server side render.
If data less then 10 records it's work fine and use client render it's work too.
Error only use server side render. How do I solve?

<component v-for="element in dataItems" :is="element.name" :key="element.id"></component>
here is my json data

[
  {
    "id": "1",
    "name": "Layout12"
  },
  {
    "id": "2",
    "name": "Layout12"
  },
  {
    "id": "3",
    "name": "Layout12"
  },
  {
    "name": "Layout12",
    "id": "4"
  },
  {
    "name": "Layout12",
    "id": "5"
  },
  {
    "name": "Layout12",
    "id": "6"
  },
  {
    "name": "Layout12",
    "id": "7"
  },
  {
    "name": "Layout12",
    "id": "8"
  },
  {
    "name": "Layout12",
    "id": "9"
  },
  {
    "name": "Layout12",
    "id": "10"
  }
]
@vue-bot
Copy link
Contributor

vue-bot commented Apr 14, 2017

Hello, your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue - thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants