DEV Community

Mahedi Hasan
Mahedi Hasan

Posted on

2 1

Don’t Use v-if with v-for Elements

Sometimes we use v-if conditionals with v-for to filter our data. It’s super tempting to want to use v-if with v-for in order to filter elements of an array.

https://www.codechief.org/article/dont-use-v-if-with-v-for-elements

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay