-
Notifications
You must be signed in to change notification settings - Fork 25k
Closed
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
I'm not sure if this is a feature or a bug:
When I change the value of passProps of a navigator, I expect it would re-render again, just like other react components do. However, it seems it will not do so.
For example,
<NavigatorIOS
style={{flex: 1}}
initialRoute={{
component: MyChatList,
title: "My Chat List",
passProps: {
recentChats: this.state.ChatListData.recentChats,
renderRow: this.renderRecentChat,
},
}} />
When the state ChatListData (which comes from flux) updates, the navigator will not update it self correspondly.
sericaia, hackerxian, basith374 and benjaminb10
Metadata
Metadata
Assignees
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.