akbor
Results
1
comments of
akbor
docstore will initially return undefined as its fetching, so you'll have to do a if check. ```javascript const userData = docStore(db, `users/rNvXG7F...KyJw1`); {#if $userData !== undefined} {userData.ref} {:else} Loading... {/if}...