mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-05-20 04:21:11 +08:00
fix: fix navigation object changing too often
This commit is contained in:
@@ -56,7 +56,7 @@ export default function SceneView<
|
||||
),
|
||||
});
|
||||
},
|
||||
[getState, route, setState]
|
||||
[getState, route.key, setState]
|
||||
);
|
||||
|
||||
const context = React.useMemo(
|
||||
|
||||
Reference in New Issue
Block a user