React-native-router-flux: Action Pop not refreshing parent page

Created on 28 Feb 2019  路  1Comment  路  Source: aksonov/react-native-router-flux

I know this has been asked before, but it's not working for me.

I've even tried the code below, but he code doesn't do anything, it just stays in the same page.

Actions.pop({ refresh: { data: 'Data after pop', title: 'title after pop' }, key: 'MainPage' });

however, this worked for me, but it just freezes the main page for a few seconds.
Actions.pop({refresh: {}, timeout: 1})

Is there another way to call componentWillReceiveProps?

>All comments

You are using pop which pops out your screen with given params. use Actions.refresh().

read this carefully

Was this page helpful?
0 / 5 - 0 ratings

Related issues

booboothefool picture booboothefool  路  3Comments

xnog picture xnog  路  3Comments

maphongba008 picture maphongba008  路  3Comments

basdvries picture basdvries  路  3Comments

willmcclellan picture willmcclellan  路  3Comments