Hey, does supertokens expose react hooks to just let me bring my own UI to signup/signin?
t
Hey, does supertokens expose react hooks to just let me bring my own UI to signup/signin?
r
Hey @texoport we don’t have react hooks for that, but we expose several helper functions instead.
See the use your own UI section in the docs
t
Ah yeah, I did see that just after I'd left that message, and I finally managed to get everything working. I have a somewhat involved onboarding+auth flow with a lot of moving parts, so it took a while to get it all working, but I must say, supertokens was significantly easier than the other solutions I'd tried before (auth0, and Google's Identity Platform).
r
Awesome!! Appreciate the kind words πŸ™‚ do you have any feedback on how we can further improve?
t
The docs, while well written, made me get lost a little, probably because of how they're structured around recipes, but that's largely because I had to integrate pre existing flows with it and it wasn't instantly obvious where I could hook into the platform and that sort of thing. I don't know what your average user's usecase looks like, but things like overloading functions and apis should probably be slightly more visible? Even when I did figure out how to do that, it wasn't instantly obvious if I needed to override apis or functions (wrt ThirdPartyEmailPassword in my case) without looking at the types.
r
I see. That makes sense. Thank you for your feedback! Very useful πŸ™‚