The Vue.js Master Class 2024 Edition

Watch this course for FREE this weekend only.
Create an account to start watching.

or

Fix a Little Bug with the Project Title Watcher

Our project title watcher needs a fix—right now, it’s not updating the page title when we revisit the same project. This happens because watchers only trigger on value changes, and since the project data is cached in Pinia, revisiting doesn’t count as a “change.” Here, we’ll tweak the logic to ensure that page titles update reliably, even for cached projects.

Links

  • Chapter 8

CRUD Operations

120.
Delete Tasks
FREE
8:45
NEXT CHAPTER
Wrapping Up