Reputation: 43
Can it be possible to make dynamic routes in bottom tab navigator of React Navigation.If Possible then how to do that?
Upvotes: 0
Views: 170
Reputation: 1955
As mentioned in the React Navigation docs, it requires you to define routes statically, and there's no officially supported way to define dynamic routes. There are existing workarounds (see the link in my comment under your question), but these workarounds are pretty awkward.
React Navigation 5.0 was announced recently, and it promises to bring dynamic configuration support, which might mean dynamic routes as well.
Upvotes: 1