Quick question / feedback after first 10 minsMarch 28, 2019 at 4:05pm
How do I set & use the fake-auth stuff in the conditions? Couldn't find how to. I guess I will be able to add more data also?
March 28, 2019 at 4:13pm
@bun-shar Good question! You can't currently modify that function, but we'll be adding a way to have re-usable functions, at which point you'll be able to view the code for
useFakeAuth and modify it. We wanted to get something in there so people could mock auth flows, but that function (react hook) could definitely be improved. In the short-term, are there any specific changes we can make so it's more useful? Would you want it to return a user object that contains some data like id, username, etc?
@bun-shar Okay cool, will add some docs on that and link to it from the edit modal code section. Thanks for the feedback. Fyi, currently
signup() require no args and
auth is just a true/false boolean.