faraz amiruddin
1 min readMay 25, 2018

You’re right!

If you wanted to reuse the <Loading /> component elsewhere, you wouldn’t be able to do so with this example because it is coupled. Not sure I would put it in App.js since that is just exporting a SwitchNavigator.

Maybe AuthLoading would have been a better name for this component.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

faraz amiruddin
faraz amiruddin

Written by faraz amiruddin

software engineer. building retro.app in public. love react x firebase.

No responses yet

Write a response