Closed cknitt closed 5 years ago
Should we split into several bindings (packages/repo?) Would make sense even if "annoying" to handle?
For the npm package, having version numbers that match the react-navigation version should be sufficient. In the repo, we could keep a v3
branch, and use the master branch for 4.x.
I may not expressed myself correctly.
I was more thinking about react-navigation-drawer, -stack & -tabs
Ah, right, sorry.
I think it's not worth the effort to have separate repos/npm packages for those, that would only complicate things further both for users and for us.
I agree but people might looks for a given things & not look for it.
We could try to rename DrawerNavigator
& friends to ReactNavigationDrawer
maybe?
Yes, that's a good idea! I'll do this in a follow-up PR.
@MoOx Regarding renaming: I forgot that we already have the namespace ReactNavigation
set in bsconfig.json
. So if we renamed DrawerNavigator
as suggested, it would become ReactNavigation.ReactNavigationDrawer
.
Or I would need to "namespace everything manually" instead of via bsconfig.json
which I don't really want. So I'd rather keep things as they are.
Oh yeah. I guess documentation should be ok.
We could also go for ReactNavigation.Drawer
.
I assume this will also break the example. After this + all the repo/package renaming is through, we should get the example to work again.