question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v-for make browser stack overflow

See original GitHub issue

Vue.js version

1.0.21- > 10.26

Reproduction Link

https://hyperdev.com/#!/project/comet-watcher

open this demo link and click the show button, you can see the browser stops working…

but, use this code is ok…

<template v-for="item of field.value" track-by="$index">
    <span class="c-mapList-key">{{item.type}}: </span>
    <span class="c-mapList-value">{{item.value}}</span>
</template>

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
LinusBorgcommented, Jun 30, 2016

IIRC, the priority of v-if and v-for changed. In some previous version, v-if was of higher priority.

This was changed because it made it impossible to have v-if reference the individual items from a v-for.

0reactions
xiaoshuangLicommented, Oct 24, 2016

Found out,i just made a stupid mistake. And thanks a lot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

BrowserStack- Is it possible to automate test ` - Stack Overflow
All i have is a valid credentials to login and i am unsure about running /automate the testcases in browserstack.
Read more >
Building a Stack Overflow browser as a VS extension
Learn how to integrate with the Stack Overflow API from C#. In this post, I'll build a Visual Studio extension that shows SO...
Read more >
Stack Overflow Automation tool : build this super helpful ...
Stack Overflow is a one stop destination for all programming debugging, ... We wouldn't want our browser to display thousands of results.
Read more >
How Stack Overflow Used Automation to Test Complex ... - Mabl
Stack Overflow is a beloved resource for software developers around the world. See how test automation helps them manage quality for a ...
Read more >
Practical Ways to Write Better JavaScript - Stack Overflow Blog
There are lots of simple things you can do to improve at JavaScript. Here are some methods we use to write better JS....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found