Use the extraData property on your FlatList component.
As the documentation states:
By passing
extraData={this.state}toFlatListwe make sureFlatListwill re-render itself when thestate.selectedchanges. Without setting this prop,FlatListwould not know it needs to re-render any items because it is also aPureComponentand the prop comparison will not show any changes.