In React-Native, is there a way (or ways) to remount or reload the whole screen?
Im building a calculator, and if I follow this: https://facebook.github.io/react-native/docs/refreshcontrol.html
It still doesnt resets the input fields. Sure, I can write a code to reset every field on the screen, but is there a generic way to just refresh the screen?
For example, using the navigator if I just go to another screen and come back to this screen the data is gone from the fields and its all 0.0 again. How to achive that?
Here is the component's first node, everything is inside this
<ScrollView refreshControl={<RefreshControl
refreshing={this.state.refreshing} onRefresh={this.refreshMe.bind(this)} />}
>
.
.
.
.
.
.
</ScrollView>
Thanks