Skip to content
This repository was archived by the owner on Nov 30, 2018. It is now read-only.

Conversation

@baransu
Copy link

@baransu baransu commented Sep 6, 2018

Changes StackNavigator.Screen from statelessComponent to statelesscomponentWithRetainedProps. It allow us to check for header props changes and call navigation.setOptions when they change. Only problem are properties that are recreated every time like Style.t or (probably) Header.returnsComponent.

I've also updated example app to have dynamic headerTitle on Admin screen.

Fixes #122

…Props

It allow us to check for header props changes and call navigation.setOptions when props changes. Should fix callstackincubator#122. Only problem are properties that are recreated every time like Style.t or (probably) Header.returnsComponent.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant