@@ -1916,7 +1916,7 @@ describe('ReactIncremental', () => {
19161916 'Legacy context API has been detected within a strict-mode tree.\n\n' +
19171917 'The old API will be supported in all 16.x releases, but applications ' +
19181918 'using it should migrate to the new version.\n\n' +
1919- 'Please update the following component : Intl' ,
1919+ 'Please update the following components : Intl, ShowLocale, ShowBoth ' ,
19201920 ) ;
19211921
19221922 ReactNoop . render (
@@ -1972,7 +1972,7 @@ describe('ReactIncremental', () => {
19721972 'Legacy context API has been detected within a strict-mode tree.\n\n' +
19731973 'The old API will be supported in all 16.x releases, but applications ' +
19741974 'using it should migrate to the new version.\n\n' +
1975- 'Please update the following component : Router' ,
1975+ 'Please update the following components : Router, ShowRoute ' ,
19761976 ) ;
19771977 } ) ;
19781978
@@ -2002,7 +2002,7 @@ describe('ReactIncremental', () => {
20022002 'Legacy context API has been detected within a strict-mode tree.\n\n' +
20032003 'The old API will be supported in all 16.x releases, but applications ' +
20042004 'using it should migrate to the new version.\n\n' +
2005- 'Please update the following component : Recurse' ,
2005+ 'Please update the following components : Recurse' ,
20062006 ) ;
20072007 expect ( ops ) . toEqual ( [
20082008 'Recurse {}' ,
@@ -2046,7 +2046,7 @@ describe('ReactIncremental', () => {
20462046 'Legacy context API has been detected within a strict-mode tree.\n\n' +
20472047 'The old API will be supported in all 16.x releases, but applications ' +
20482048 'using it should migrate to the new version.\n\n' +
2049- 'Please update the following component : Recurse' ,
2049+ 'Please update the following components : Recurse' ,
20502050 ] ,
20512051 { withoutStack : 0 } ,
20522052 ) ;
@@ -2114,7 +2114,7 @@ describe('ReactIncremental', () => {
21142114 'Legacy context API has been detected within a strict-mode tree.\n\n' +
21152115 'The old API will be supported in all 16.x releases, but applications ' +
21162116 'using it should migrate to the new version.\n\n' +
2117- 'Please update the following component : Intl' ,
2117+ 'Please update the following components : Intl, ShowLocale ' ,
21182118 ) ;
21192119 } ) ;
21202120
@@ -2194,7 +2194,7 @@ describe('ReactIncremental', () => {
21942194 'Legacy context API has been detected within a strict-mode tree.\n\n' +
21952195 'The old API will be supported in all 16.x releases, but applications ' +
21962196 'using it should migrate to the new version.\n\n' +
2197- 'Please update the following component : Intl' ,
2197+ 'Please update the following components : Intl, ShowLocaleClass, ShowLocaleFn ' ,
21982198 ) ;
21992199 expect ( ops ) . toEqual ( [
22002200 'Intl:read {}' ,
@@ -2287,7 +2287,7 @@ describe('ReactIncremental', () => {
22872287 'Legacy context API has been detected within a strict-mode tree.\n\n' +
22882288 'The old API will be supported in all 16.x releases, but applications ' +
22892289 'using it should migrate to the new version.\n\n' +
2290- 'Please update the following component : Intl' ,
2290+ 'Please update the following components : Intl, ShowLocaleClass, ShowLocaleFn ' ,
22912291 ) ;
22922292 expect ( ops ) . toEqual ( [
22932293 'Intl:read {}' ,
@@ -2357,7 +2357,7 @@ describe('ReactIncremental', () => {
23572357 'Legacy context API has been detected within a strict-mode tree.\n\n' +
23582358 'The old API will be supported in all 16.x releases, but applications ' +
23592359 'using it should migrate to the new version.\n\n' +
2360- 'Please update the following component : Child' ,
2360+ 'Please update the following components : Child' ,
23612361 ) ;
23622362
23632363 // Trigger an update in the middle of the tree
@@ -2408,7 +2408,7 @@ describe('ReactIncremental', () => {
24082408 'Legacy context API has been detected within a strict-mode tree.\n\n' +
24092409 'The old API will be supported in all 16.x releases, but applications ' +
24102410 'using it should migrate to the new version.\n\n' +
2411- 'Please update the following component : ContextProvider' ,
2411+ 'Please update the following components : ContextProvider' ,
24122412 ) ;
24132413
24142414 // Trigger an update in the middle of the tree
@@ -2459,7 +2459,7 @@ describe('ReactIncremental', () => {
24592459 'Legacy context API has been detected within a strict-mode tree.\n\n' +
24602460 'The old API will be supported in all 16.x releases, but applications ' +
24612461 'using it should migrate to the new version.\n\n' +
2462- 'Please update the following component : MyComponent' ,
2462+ 'Please update the following components : MyComponent' ,
24632463 ] ,
24642464 { withoutStack : 1 } ,
24652465 ) ;
@@ -2608,7 +2608,7 @@ describe('ReactIncremental', () => {
26082608 'Legacy context API has been detected within a strict-mode tree.\n\n' +
26092609 'The old API will be supported in all 16.x releases, but applications ' +
26102610 'using it should migrate to the new version.\n\n' +
2611- 'Please update the following component : TopContextProvider' ,
2611+ 'Please update the following components : TopContextProvider, Child ' ,
26122612 ) ;
26132613 expect ( rendered ) . toEqual ( [ 'count:0' ] ) ;
26142614 instance . updateCount ( ) ;
@@ -2671,7 +2671,7 @@ describe('ReactIncremental', () => {
26712671 'Legacy context API has been detected within a strict-mode tree.\n\n' +
26722672 'The old API will be supported in all 16.x releases, but applications ' +
26732673 'using it should migrate to the new version.\n\n' +
2674- 'Please update the following component : TopContextProvider' ,
2674+ 'Please update the following components : TopContextProvider, MiddleContextProvider, Child ' ,
26752675 ) ;
26762676 expect ( rendered ) . toEqual ( [ 'count:0' ] ) ;
26772677 instance . updateCount ( ) ;
@@ -2743,7 +2743,7 @@ describe('ReactIncremental', () => {
27432743 'Legacy context API has been detected within a strict-mode tree.\n\n' +
27442744 'The old API will be supported in all 16.x releases, but applications ' +
27452745 'using it should migrate to the new version.\n\n' +
2746- 'Please update the following component : TopContextProvider' ,
2746+ 'Please update the following components : TopContextProvider, MiddleContextProvider, Child ' ,
27472747 ) ;
27482748 expect ( rendered ) . toEqual ( [ 'count:0' ] ) ;
27492749 instance . updateCount ( ) ;
@@ -2825,7 +2825,7 @@ describe('ReactIncremental', () => {
28252825 'Legacy context API has been detected within a strict-mode tree.\n\n' +
28262826 'The old API will be supported in all 16.x releases, but applications ' +
28272827 'using it should migrate to the new version.\n\n' +
2828- 'Please update the following component : TopContextProvider' ,
2828+ 'Please update the following components : TopContextProvider, MiddleContextProvider, Child ' ,
28292829 ) ;
28302830 expect ( rendered ) . toEqual ( [ 'count:0, name:brian' ] ) ;
28312831 topInstance . updateCount ( ) ;
0 commit comments