DEV Community

Cover image for Learning Vue
Edwin Boon
Edwin Boon

Posted on

Learning Vue

Three months ago, I switched jobs and transitioned from working on a React/Next.js frontend to a Vue 3 frontend.

While this isn't my first time using Vue 3, it is the first time I decided to properly learn it. So, I subscribed to @vueschool_io and started the Vue.js 3 Fundamentals with the Composition API course, thinking, "This is all standard stuff, and I already know everything."

But boy, was I wrong!

It only took two lectures to learn something so small and simple yet incredibly elegant:

<li v-for="{id, label} in items" :key="id">{{ label }}</li>
Enter fullscreen mode Exit fullscreen mode

In all the time I wrote Vue I have never knew this and always went
for this approach:

<li v-for="item in items" :key="item.id">{{ item.label }}</li>

Enter fullscreen mode Exit fullscreen mode

This small discovery showed me the value of taking the time to properly learn a framework. Sometimes, even the smallest tips can make a big difference.

What little coding tricks have surprised you? Share them below!

Image of Datadog

The Future of AI, LLMs, and Observability on Google Cloud

Datadog sat down with Google’s Director of AI to discuss the current and future states of AI, ML, and LLMs on Google Cloud. Discover 7 key insights for technical leaders, covering everything from upskilling teams to observability best practices

Learn More

Top comments (0)

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay