Skip to main content
Version: 8.x

Stack Navigator

Stack Navigator provides a way for your app to transition between screens where each new screen is placed on top of a stack.

Comparison with Native Stack Navigator

The Stack navigator is implemented in JavaScript and mimics the familiar iOS and Android look & feel. Since it's a custom implementation, it is extremely customizable.

However, even though it runs animations and gestures with native driver, the performance may not be as good as a native implementation. This may not be an issue for many apps, but Native Stack Navigator - which uses native navigation primitives - will provide better performance and smoother animations.

In addition, because it is a custom implementation, it may not support all the features and behaviors of the underlying platforms such large titles, form sheets, etc.

Installation

To use this navigator, ensure that you have @react-navigation/native and its dependencies (follow this guide), then install