I am building a eCommerce app using react native. I created root navigation stack before and after login but the problem is there are common pages for example: a logged in user can view Home screen with more sections and components however unregistered user can view same screen with less sections. How it can be managed with the best performance? should create same page two times and put each one in createStack navigator?
↧