0
Ich möchte zwei Tabs neu rendern von setParams
, funktioniert es, wenn ich auf eine Registerkarte Versand, aber Versand an zwei Registerkarten wie Code unten funktioniert nichtReact-native Versand Aktion zwei Registerkarten auf einmal
const setParamsAction1 = NavigationActions.setParams({ params: { foo: 'bar' } }, key: 'a' });
const setParamsAction2 = NavigationActions.setParams({ params: { foo: 'bar' } }, key: 'b' });
this.props.navigation.dispatch(setParamsAction1);
this.props.navigation.dispatch(setParamsAction2);