This new updateProps command allows to update props for a component registered with Navigation.registerComponent. The updated props are handled by shouldComponentUpdate and componentDidUpdate lifecycle methods. This commit builds upon the work done in 291f16177d and is a breaking change.
|
||
58 | 58 |
|
59 | 59 |
|
60 | 60 |
|
61 |
|
|
61 | 62 |
|
62 | 63 |
|
63 | 64 |
|
|
||
112 | 113 |
|
113 | 114 |
|
114 | 115 |
|
116 |
|
|
117 |
|
|
118 |
|
|
119 |
|
|
120 |
|
|
121 |
|
|
122 |
|
|
115 | 123 |
|
116 | 124 |
|
117 | 125 |
|
|
||
30 | 30 |
|
31 | 31 |
|
32 | 32 |
|
33 |
|
|
33 | 34 |
|
34 | 35 |
|
35 | 36 |
|
|
||
131 | 132 |
|
132 | 133 |
|
133 | 134 |
|
135 |
|
|
136 |
|
|
137 |
|
|
138 |
|
|
139 |
|
|
140 |
|
|
141 |
|
|
142 |
|
|
143 |
|
|
144 |
|
|
145 |
|
|
146 |
|
|
134 | 147 |
|
135 | 148 |
|
136 | 149 |
|
|
||
373 | 386 |
|
374 | 387 |
|
375 | 388 |
|
389 |
|
|
376 | 390 |
|
377 | 391 |
|
378 | 392 |
|
|
||
394 | 408 |
|
395 | 409 |
|
396 | 410 |
|
411 |
|
|
397 | 412 |
|
398 | 413 |
|
399 | 414 |
|
|
||
413 | 428 |
|
414 | 429 |
|
415 | 430 |
|
431 |
|
|
416 | 432 |
|
417 | 433 |
|
418 | 434 |
|
|
||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
10 |
|
|
10 | 11 |
|
11 | 12 |
|
12 | 13 |
|
14 |
|
|
13 | 15 |
|
14 | 16 |
|
15 | 17 |
|
|
||
34 | 36 |
|
35 | 37 |
|
36 | 38 |
|
37 |
|
|
39 |
|
|
38 | 40 |
|
39 | 41 |
|
40 |
|
|
42 |
|
|
41 | 43 |
|
42 |
|
|
44 |
|
|
43 | 45 |
|
44 | 46 |
|
45 | 47 |
|
|
||
55 | 57 |
|
56 | 58 |
|
57 | 59 |
|
58 |
|
|
60 |
|
|
59 | 61 |
|
60 | 62 |
|
61 | 63 |
|
62 | 64 |
|
63 | 65 |
|
66 |
|
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
|
|
71 |
|
|
64 | 72 |
|
65 | 73 |
|
66 | 74 |
|
|
||
125 | 133 |
|
126 | 134 |
|
127 | 135 |
|
128 |
|
|
136 |
|
|
129 | 137 |
|
130 | 138 |
|
131 |
|
|
139 |
|
|
132 | 140 |
|
133 |
|
|
141 |
|
|
134 | 142 |
|
135 | 143 |
|
136 | 144 |
|
|
||
139 | 147 |
|
140 | 148 |
|
141 | 149 |
|
142 |
|
|
150 |
|
|
143 | 151 |
|
144 | 152 |
|
145 | 153 |
|
|
||
34 | 34 |
|
35 | 35 |
|
36 | 36 |
|
37 |
|
|
37 |
|
|
38 | 38 |
|
39 | 39 |
|
40 | 40 |
|
|
||
39 | 39 |
|
40 | 40 |
|
41 | 41 |
|
42 |
|
|
42 |
|
|
43 | 43 |
|
44 | 44 |
|
45 | 45 |
|
|
||
79 | 79 |
|
80 | 80 |
|
81 | 81 |
|
82 |
|
|
82 |
|
|
83 | 83 |
|
84 | 84 |
|
85 | 85 |
|
|
||
108 | 108 |
|
109 | 109 |
|
110 | 110 |
|
111 |
|
|
111 |
|
|
112 | 112 |
|
113 | 113 |
|
114 | 114 |
|
|
||
135 | 135 |
|
136 | 136 |
|
137 | 137 |
|
138 |
|
|
139 |
|
|
140 |
|
|
141 |
|
|
142 |
|
|
143 |
|
|
144 |
|
|
145 |
|
|
146 |
|
|
147 |
|
|
148 | 138 |
|
|
||
14 | 14 |
|
15 | 15 |
|
16 | 16 |
|
17 |
|
|
18 |
|
|
17 |
|
|
18 |
|
|
19 | 19 |
|
20 | 20 |
|
21 |
|
|
21 |
|
|
22 | 22 |
|
23 | 23 |
|
24 | 24 |
|
|
||
26 | 26 |
|
27 | 27 |
|
28 | 28 |
|
29 |
|
|
30 | 29 |
|
31 | 30 |
|
32 | 31 |
|
|
||
58 | 57 |
|
59 | 58 |
|
60 | 59 |
|
61 |
|
|
60 |
|
|
62 | 61 |
|
63 | 62 |
|
64 | 63 |
|
|
||
69 | 68 |
|
70 | 69 |
|
71 | 70 |
|
72 |
|
|
71 |
|
|
73 | 72 |
|
74 | 73 |
|
75 | 74 |
|
76 | 75 |
|
77 |
|
|
78 |
|
|
79 |
|
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
|
84 | 76 |
|
|
||
88 | 88 |
|
89 | 89 |
|
90 | 90 |
|
91 |
|
|
91 |
|
|
92 | 92 |
|
93 | 93 |
|
94 | 94 |
|
|
||
98 | 98 |
|
99 | 99 |
|
100 | 100 |
|
101 |
|
|
101 |
|
|
102 | 102 |
|
103 | 103 |
|
104 | 104 |
|
|
||
128 | 128 |
|
129 | 129 |
|
130 | 130 |
|
131 |
|
|
131 |
|
|
132 | 132 |
|
133 | 133 |
|
134 | 134 |
|
|
||
14 | 14 |
|
15 | 15 |
|
16 | 16 |
|
17 |
|
|
17 |
|
|
18 | 18 |
|
19 | 19 |
|
20 | 20 |
|
21 | 21 |
|
22 |
|
|
22 |
|
|
23 | 23 |
|
24 | 24 |
|
25 | 25 |
|
|
||
30 | 30 |
|
31 | 31 |
|
32 | 32 |
|
33 |
|
|
33 |
|
|
34 | 34 |
|
35 | 35 |
|
36 | 36 |
|
|
||
51 | 51 |
|
52 | 52 |
|
53 | 53 |
|
54 |
|
|
54 |
|
|
55 | 55 |
|
56 | 56 |
|
57 | 57 |
|
58 | 58 |
|
59 | 59 |
|
60 |
|
|
60 |
|
|
61 | 61 |
|
62 | 62 |
|
|
||
6 | 6 |
|
7 | 7 |
|
8 | 8 |
|
9 |
|
|
9 |
|
|
10 | 10 |
|
11 | 11 |
|
12 |
|
|
13 | 12 |
|
14 | 13 |
|
15 | 14 |
|
|
||
204 | 204 |
|
205 | 205 |
|
206 | 206 |
|
207 |
|
|
207 |
|
|
208 | 208 |
|
209 | 209 |
|
210 | 210 |
|
|
||
94 | 94 |
|
95 | 95 |
|
96 | 96 |
|
97 |
|
|
98 |
|
|
99 |
|
|
100 |
|
|
97 |
|
|
98 |
|
|
101 | 99 |
|
102 | 100 |
|
103 | 101 |
|
|
||
39 | 39 |
|
40 | 40 |
|
41 | 41 |
|
42 |
|
|
42 | 43 |
|
43 | 44 |
|
44 | 45 |
|