Skip to content

Glossary: React Native

router

Also written: router.push, router.replace, router.back

Expo Router's object for moving from code: `push` opens a screen on top, `back` goes back, and `replace` swaps the current screen so Back doesn't return to it.

Where the book teaches it

Related terms

Link