How can I override react navigate.goBack(). My goal is to pass data from child to parent, which will used to update the parent. 
There is a similar solution here react-navigation-goback-and-update-parent-state, however they still call this.props.navigation.goBack(), I want to be able to use the back button in the title bar. 
 
    