import {NavigationActions, StackActions} from 'react-navigation';
const action = StackActions.reset({
index: 0,
actions: [
NavigationActions.navigate({
routeName: 'Applied',
action: NavigationActions.navigate({
routeName: 'Belod',
params: {count:23},
}),
}),
],
});
return navigation.dispatch(action);
I am using this with "react-navigation": "^4.4.3" But I have updated it to 6.x.x so getting an error as this module is not found. So how can I move the StackActions code to the latest react-navigation. please check and update it. Thanks