loading...

Discussion on: Watch for Vuex State changes!

Collapse
allanjeremy profile image
Allan N Jeremy

This saved me a tonne! Using it to fetch a user's id from the db (which may not be present at start). The user id is then used to determine which chats to show.

Before this, I kept getting null exceptions. Now I can just check for whether a value exists on change and act accordingly.

Even better, 0 errors now.
Thanks a lot Vin 👌

Collapse
viniciuskneves profile image
Vinicius Kiatkoski Neves Author

Great! Really happy to "hear" 😅 that!