Relative Content

Tag Archive for react-nativereact-navigation

Strange loading behavior using useHeader hook with React Native Ignite

I’m using the React Native Ignite template along with React Native Paper components. When navigating between 2 pages that are both using the useHeader util hook that comes in the template, the header renders very strangely. I’ve noticed the behavior on some other pages, but it’s sometimes only on the first load. This particular case doesn’t use any data (like a dynamic header based) which was my first assumption on why it’s not working correctly.

How to retain screen animation option when using useNavigationBuilder in react navigation

I am building a custom tab navigation with the useNavigationBuilder, the content part of the screen is rendered using {descriptors[route.key].render()}. This however does not respect the animation set in screen options for each route. Can this be achieved? setting the animation on the view does not look great as on the first render its not reflecting either.

Multiple navigation menus for different screens

I want to understand if it is possible to create several navigation tabs in the react-navigation package. Since I need to show the user a huge number of tabs and they simply do not fit on the screen. For example, on the home screen there are Homepage and Dashboard tabs, but on the Dashboard screen there are Settings and Profile tabs. I searched the documentation for information for about an hour, but did not find what I needed.