Getting Started with React Native Navigation V1
Spencer Carli
2165

Hello Spencer…I have read many of your posts and have decided to go with React Native for some of my personal projects as well. I have followed the tutorial here, and would like to pursue further with this type of Navigation. What do you suggest is the best way to handle the authentication flow (using JWT on a localstorage look-up), on the client-side?

From what I have seen…a good idea might be just to set up a HOC to check for a token on each navigation change, but I am not too sure how that might look with this Navigation. Do you have a better way you like for checking authentication status, or do you have a good tutorial for this?

Thanks for your advice!

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.