    StackRouterOptions,
    useNavigationBuilder,
  } from '@react-navigation/native';
-@@ -21,6 +21,35 @@ import type {
+@@ -20,6 +20,36 @@ import type {
+   StackNavigationOptions,
  } from '../types';
  import StackView from '../views/Stack/StackView';
- 
++import isEqual from 'lodash/isEqual'
++
 +const StackRouter = options => {
 +  const router = OriginalStackRouter(options)
 +  return {

+    },
+  }
+}
+
 type Props = DefaultNavigatorOptions<
   ParamListBase,
   StackNavigationState<ParamListBase>,

diff --git a/node_modules/@react-navigation/stack/src/navigators/createStackNavigator.tsx b/node_modules/@react-navigation/stack/src/navigators/createStackNavigator.tsx
index 40f3bc1..1ed566f 100644
--- a/node_modules/@react-navigation/stack/src/navigators/createStackNavigator.tsx
+++ b/node_modules/@react-navigation/stack/src/navigators/createStackNavigator.tsx
@@ -6,7 +6,7 @@ import {
