Comments (5)
@timpler As I mentioned in my comment above, I'm not opposed to having an API in the library for drawer layout (though I haven't thought much about what it would look like or how it would fit in), but at the moment I am viewing it as something that would need to be contributed back, preferably by someone who is actually using it and has actual real world use cases.
As Ben Alpert mentioned at the React Native panel last Thursday, React Native itself takes the same exact approach - with modules that Facebook does not use themselves being contributed by the community. If we don't have real use cases for them, we can't make informed decisions on how they should be added, and also don't have the proper context when taking on maintenance of that module.
We are working hard to make this library something that can be useful for people beyond just Airbnb, but within reason. The Drawer layout does not have a clear semantically equivalent partner on the iOS platform, but the BottomNavigationMenu
does, and thus it was chosen to be used. That's not to say that drawer layout isn't an important ui component for the android platform, but it might mean that it does not need to be part of this library, and could work as a standalone module outside of this library and interop just fine.
from native-navigation.
I dont like how 'navigation market' granulates, especially when I hear from big players like airbnb that they'll not add something as they done need it for theirselves. I like that you've open-sourced great project, but with great size comes great responsibility. It has like 1k stars in 2 or 3 days and lack of some kind of standard api in react-native ecosystem is pain in the ass.
It feels a bit like:
from native-navigation.
This probably won't be something that we will add support for ourselves because we aren't using it in any way. I would, however, support contributions adding support for it in the default implementation if the API makes sense.
If you're interested in doing this, let's chat about what the API could look like and how it could work...
from native-navigation.
and could work as a standalone module outside of this library and interop just fine.
That sounds great to me, actually, I think it should be the way to go: To separate actual navigation from patterns like a drawer. Indeed, a drawer is a very used pattern in Android but it doesn't mean that all your apps need or should have one.
For me, the main pain point of all the navigation libraries out there is that the navigation on Android doesn't feel the way it should in terms of performance and animation. Here is a clever way to solve it using Fragments (as mentioned in the React conference, taking advantage of the Native solution is just fine).
I think this should be the main focus right now, there is gonna be time to bloat it with a Drawer, TopTabs, etc, etc.
from native-navigation.
Has anyone made any attempt to it? If so, I'd like to contribute, if not, I'd love to chat about possible API and implementation as I have an app which requires this to migrate to react-native.
from native-navigation.
Related Issues (20)
- Execution failed for task ':native-navigation:prepareReleaseDependencies'
- Screen Flickering problem
- l just want get the detail page when l click the listview, but l don't need the title in the listview page. How can l remove the title? HOT 3
- Reload js not clear nav stack HOT 2
- [Android] Abstract serialiser
- [iOS] Objective-C rewrite
- One error before compiling
- how to push route without tab in tabs HOT 4
- Crashed when back pressed
- iOS build fails HOT 1
- How to resize rightButtons image?
- Navigator.dismiss(payload) does not provide payload to Promise<NavigationResult> HOT 1
- Refreshing in dev mode causes screen registration duplication (leak)
- Is this library still being developed? HOT 52
- Community transition roadmap and first steps as a community driven library HOT 6
- Are there any examples of of this navigation? HOT 2
- Unsupported Swift version on Xcode 9.2 HOT 2
- Typescript support
- Swipe back/pop transition
- Is this repository still maintained ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from native-navigation.