After a user creates an account, a new document is created in my firebase with their email and empty fields for other information such as first name etc. I then want to pass this document forward to the next page where the user can fill in such information and then click a button that will update their specific document.
But I don't understand how to pass the document through?
If I create a new parameter on my details page e.g. user ref pointing to a document ref or just a document then when I go to add pass on my navigation from my create account page what do I select to pass? I can select to pass userRef but what variable do I link it to?