react-native-tab-view 4.0.0-alpha.1 → 4.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/TabView.js +1 -1
- package/lib/module/TabView.js +1 -1
- package/package.json +2 -2
- package/src/TabView.tsx +1 -1
package/lib/commonjs/TabView.js
CHANGED
|
@@ -84,7 +84,7 @@ function TabView(_ref) {
|
|
|
84
84
|
addEnterListener,
|
|
85
85
|
jumpTo
|
|
86
86
|
} = _ref2;
|
|
87
|
-
// All
|
|
87
|
+
// All the props here must not change between re-renders
|
|
88
88
|
// This is crucial to optimizing the routes with PureComponent
|
|
89
89
|
const sceneRendererProps = {
|
|
90
90
|
position,
|
package/lib/module/TabView.js
CHANGED
|
@@ -76,7 +76,7 @@ export function TabView(_ref) {
|
|
|
76
76
|
addEnterListener,
|
|
77
77
|
jumpTo
|
|
78
78
|
} = _ref2;
|
|
79
|
-
// All
|
|
79
|
+
// All the props here must not change between re-renders
|
|
80
80
|
// This is crucial to optimizing the routes with PureComponent
|
|
81
81
|
const sceneRendererProps = {
|
|
82
82
|
position,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-tab-view",
|
|
3
3
|
"description": "Tab view component for React Native",
|
|
4
|
-
"version": "4.0.0-alpha.
|
|
4
|
+
"version": "4.0.0-alpha.3",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native-component",
|
|
7
7
|
"react-component",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
]
|
|
69
69
|
]
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "d0e6a2cd79d2c6aff0cf54e46e31edc407c3c46b"
|
|
72
72
|
}
|
package/src/TabView.tsx
CHANGED
|
@@ -111,7 +111,7 @@ export function TabView<T extends Route>({
|
|
|
111
111
|
layoutDirection={direction}
|
|
112
112
|
>
|
|
113
113
|
{({ position, render, addEnterListener, jumpTo }) => {
|
|
114
|
-
// All
|
|
114
|
+
// All the props here must not change between re-renders
|
|
115
115
|
// This is crucial to optimizing the routes with PureComponent
|
|
116
116
|
const sceneRendererProps = {
|
|
117
117
|
position,
|