I would like to create a user setting page, where she can set her preferences, address, etc.
all in her User schema. How to do that? I actually need 2 methods:
one to read user info, one to save user info.
i thought Auth.getCurrentUser() will help me get the current user, but i can't make it work.
i get "getCurrentUser is not a function...."
Any tip, example, link for further reading?
Thank you!
I would like to create a user setting page, where she can set her preferences, address, etc.
all in her User schema. How to do that? I actually need 2 methods:
one to read user info, one to save user info.
i thought Auth.getCurrentUser() will help me get the current user, but i can't make it work.
i get "getCurrentUser is not a function...."
Any tip, example, link for further reading?
Thank you!