mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-22 11:17:04 +08:00
Minor typo/wording tweaks (#264)
This commit is contained in:
committed by
Krzysztof Magiera
parent
3fc74e29ab
commit
c460341a68
12
README.md
12
README.md
@@ -100,12 +100,12 @@ To do that react-native-screens provides you with two components documented belo
|
||||
### `<ScreenContainer/>`
|
||||
|
||||
This component is a container for one or more `Screen` components.
|
||||
It does not accept other component types are direct children.
|
||||
The role of container is to control which of its children screens should be attached to the view hierarchy.
|
||||
It does that by monitoring `active` property of each of its children.
|
||||
It it possible to have as many `active` children as you'd like but in order for the component to be the most efficient we should keep the number of active screens to the minimum.
|
||||
In a case of stack navigator or tabs navigator we only want to have one active screen (the top most view on a stack or the selected tab).
|
||||
Then for the time of transitioning between views we may want to activate a second screen for the duration of transition, and then go back to just one active screen.
|
||||
It does not accept other component types as direct children.
|
||||
The role of the container is to control which of its children screens should be attached to the view hierarchy.
|
||||
It does that by monitoring the `active` property of each of its children.
|
||||
It is possible to have as many `active` children as you'd like but in order for the component to be the most efficient we should keep the number of active screens to a minimum.
|
||||
In a case of a stack navigator or tabs navigator we only want to have one active screen (the top most view on a stack or the selected tab).
|
||||
While transitioning between views we may want to activate a second screen for the duration of the transition, and then go back to just one active screen.
|
||||
|
||||
### `<Screen/>`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user