Skip to content

Instantly share code, notes, and snippets.

View AbhinayMe's full-sized avatar
🎯
Focusing

Abhi M AbhinayMe

🎯
Focusing
View GitHub Profile
@AbhinayMe
AbhinayMe / React_Navigation_Fix_gist.md
Last active May 10, 2022 08:53
React Navigation Fix

we will be installing the React Navigation library to use in our project. Please read the following important information and updated installation instructions:

Important Message about React Navigation v5

This project will be using the v4 version of React Navigation and not the v5 version. To date, this code still works as expected. The v4 version is still important to know and understand as it is used widely in existing codebases in many organizations. I highly encourage you to continue on with the course as it is so that you fully understand how React Navigation works. Once you have finished the course, you can use this as a self-study opportunity to attempt a migration of your finished working projects to v5. The docs provide some great resources on this: https://reactnavigation.org/docs/upgrading-from-4.x/.

1. React Navigation v4 Installation

note: You cannot mix Yarn and npm in the same project as it will break your dependencies. You must consistently use the same package manager. If y