正在加载视频...
视频加载失败
What is the difference between React Native JS Bottom Tabs and Native Bottom Tabs? 👀 Native bottom tabs use native platform primitives to render tabs (TabView from SwiftUI and BottomNavigationView on Android), while JS Tabs recreate this UI as closely as possible. This approach works well but tabs can... show more
11 条评论

The API surface will be an (almost) 1:1 match with JS Bottom Tabs 🙌 This project is not yet released as I am working on this in my free time but I can't wait for you to try it out!

cool 😎 what happens across platforms when you add +10 items?

Thanks! BottomNavigationView from Android supports only 6 items so it shows an error 😆 However, on iOS you get the "More" button which is currently not working as lazy loading is not getting any events about entering these views from "more" list but we can fix it

Do we have lazy loading as well?

Yeah! I Implemented it yesterday evening. This is how the API looks like if you want to use it without React Navigation. It follows the same pattern as Material Bottom Tabs from React Native Paper. But most of this will be abstracted from users by React Navigation.

This is so nice @o_kwasniewski. Can't wait to try it!

This is awesome! Great work!

Thanks!

We use bottomtabs library for our app. What is the benchmark of performance in Android and iOS for your library vs the react-navigation bottom tabs. It would be nice if I can see it and does it support fade in logic like how stack screens do? Can this bottom tab be nested inside a native stack from react-navigation so this whole bottom tab is a stack? These are my questions so I can try this out.

Can the icons be lottie files?

I didn’t implement custom icons support yet so I will do some research on what we need to support Lottie files later



