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.
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 👌
Great! Really happy to "hear" 😅 that!