Skip to content

Commit b88ba2c

Browse files
committed
Update MIGRATION.md
1 parent 6bcbfde commit b88ba2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/MIGRATION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Migrating from 2.x
22

33
## Breaking changes comparing with 2.x version:
4-
- React Native 0.22 is required
4+
- React Native 0.26 is required
55
- `Router` is root container now and should not be nested. For nested scenes you should use `Scene` element
66
- `Route` became `Scene`, now unique `key` attribute is required for each scene (it was `name` attribute before)
77
- Define all your scenes on top-level, not within `Router` as before (see Example)
@@ -10,4 +10,4 @@
1010
- Custom scene renderers are used instead of 'custom' types (like 'modal'), so 'modal' scenes are pushed as usual, but custom renderer will render them as popup. No `dismiss`, just usual `pop` to close such popups.
1111
- No old navigator.sceneConfig support (instead the component uses React Native NavigationAnimatedView for better transitions)
1212
- No onPush/onPop/etc handlers because they are not needed now. If navigation state is changed, container will be re-rendered with changed navigationState property, see `Modal` as Example.
13-
- No header/footer properties are supported for Scene currently - you may include them into Scene component.
13+
- No header/footer properties are supported for Scene currently - you may include them into Scene component.

0 commit comments

Comments
 (0)