I'm trying to make a complex app where there are 5 pages (Bottom Tab Navigator) and multiple screens (Native Stack Navigator). The multiple screens are supposed to open in the 5 pages. I wish to use the same screen names in the 5 pages and multiple screens for consistency purposes and I have the requirement of having cycles of these screens being opened. I'm getting lots of warnings regarding cycling nested screens and screens with the same names such as:
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
Screens with same name warning:
Found screens with the same name nested inside one another. Check: Home -> PROVIDER_PAGE -> PRODUCT_PAGE -> PROVIDER_PAGE -> PRODUCT_PAGE This can cause confusing behavior during navigation. Consider using unique names for each screen instead.
How can I achieve this in the clean way and ignore these warnings?