Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Added a View wrapper with a key prop #104

Merged
merged 1 commit into from
Oct 6, 2016
Merged

Added a View wrapper with a key prop #104

merged 1 commit into from
Oct 6, 2016

Conversation

roonyh
Copy link
Contributor

@roonyh roonyh commented Oct 6, 2016

This wraps each story with a View component that has a unique key prop. This makes when a story is selected, the previous story is unmounted and the new story is mounted from the start. So lifecycle methods like componentDidMount is always called.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant