Good article, but I do not quite understand how App and AppWithAuth are interrelated. What component do we include in index.js? And how do we generally connect AppWithAuth?
At the highest level, you would include AppWithAuth as the entry point for your app. This allows you to wrap your entire application with an authentication layer as demoed here.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Good article, but I do not quite understand how App and AppWithAuth are interrelated. What component do we include in index.js? And how do we generally connect AppWithAuth?
At the highest level, you would include
AppWithAuth
as the entry point for your app. This allows you to wrap your entire application with an authentication layer as demoed here.