-1

So, what is the difference between those two imports when using it in our React-Native projects? Thanks.

Dannark
  • 716
  • 6
  • 12

1 Answers1

1

You might have seen npm package names which follow this format - @org-name/project-name. These are called scoped packages. You can refer this answer to know more about scoped packages.

Until v4.x, the react-navigation team used unscoped packages. (Refer this)

Starting from v5.x, the react-navigation team have started using scoped packages and hence the package name format - @react-navigation/native

Manish
  • 710
  • 3
  • 12
  • 25