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

jgibbons picture jgibbons  路  3Comments

rafaelcorreiapoli picture rafaelcorreiapoli  路  3Comments

GCour picture GCour  路  3Comments

kirankalyan5 picture kirankalyan5  路  3Comments

VictorK1902 picture VictorK1902  路  3Comments