[Question] setOptions vs setParams
shahankit opened this issue · 1 comments
shahankit commented
react-navigation
by default provides setParams in this.props.navigation
. What is the difference between setParams and setOptions?
GollyJer commented
setParams
starts as an empty object and allows you to pass whatever you want into it.
setOptions
makes it possible to set .navigationOptions at the screen level AND use the local component props... normally not possible.