Our great sponsors
-
router
[ARCHIVE]: Expo Router has moved to expo/expo -- The File-based router for universal React Native apps (by expo)
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Expo is also working on expo-router which is file system based - it means that it could technically infer the nesting without having to manually do it.
The collapsable header is built into the Android platform. That's why you see it on every Android app. Wrap your content in a CoordinatorLayout and the header automatically collapses. The Navigation router is the only navigation library for React Native that wraps the CoordinatorLayout. Take a look at the Twitter example to see the collapsing header in action
Check out the docs and take a look at how they used this API to implement their default bottom tab navigator.