Grokking React Native
Vote

0% completed

​

Implementing Tab and Drawer Navigation

A stack and a tab bar treat the same press very differently. In a stack, opening a screen covers the previous one, and going back removes the new one. In a tab bar, every press only changes which section is visible, and no section is removed. Drawer navigation, the second topic here, follows the same rule as tabs but hides its menu until the user asks for it.

The example is a shop with Home, Cart, and Profile sections. All the screens use the same simple shape, so the navigation stays easy to see.

Setting Up Tab Navigation

The packages from the earlier setup lesson are already installed

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content