react-navigation has been split into multiple new packages starting from version 5. This version uses the new hooks API, and completely discards the current API we are using now (with HOC, and static definitions). V4 will receive bug fixings but no longer will get new features, so we should do this migration at some point.
react-navigation has been split into multiple new packages starting from version 5. This version uses the new hooks API, and completely discards the current API we are using now (with HOC, and static definitions). V4 will receive bug fixings but no longer will get new features, so we should do this migration at some point.