@@ -1913,7 +1913,7 @@ describe('ReactIncremental', () => {
1913
1913
'ShowBoth {"locale":"fr"}' ,
1914
1914
] ) ,
1915
1915
) . toWarnDev (
1916
- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
1916
+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
1917
1917
'The old API will be supported in all 16.x releases, but applications ' +
1918
1918
'using it should migrate to the new version.\n\n' +
1919
1919
'Please update the following components: Intl, ShowBoth, ShowLocale' ,
@@ -1970,7 +1970,7 @@ describe('ReactIncremental', () => {
1970
1970
'ShowBoth {"locale":"en"}' ,
1971
1971
] ) ,
1972
1972
) . toWarnDev (
1973
- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
1973
+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
1974
1974
'The old API will be supported in all 16.x releases, but applications ' +
1975
1975
'using it should migrate to the new version.\n\n' +
1976
1976
'Please update the following components: Router, ShowRoute' ,
@@ -2001,7 +2001,7 @@ describe('ReactIncremental', () => {
2001
2001
2002
2002
ReactNoop . render ( < Recurse /> ) ;
2003
2003
expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2004
- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2004
+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
2005
2005
'The old API will be supported in all 16.x releases, but applications ' +
2006
2006
'using it should migrate to the new version.\n\n' +
2007
2007
'Please update the following components: Recurse' ,
@@ -2046,7 +2046,7 @@ describe('ReactIncremental', () => {
2046
2046
"If you can't use a class try assigning the prototype on the function as a workaround. " +
2047
2047
'`Recurse.prototype = React.Component.prototype`. ' +
2048
2048
"Don't use an arrow function since it cannot be called with `new` by React." ,
2049
- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2049
+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
2050
2050
'The old API will be supported in all 16.x releases, but applications ' +
2051
2051
'using it should migrate to the new version.\n\n' +
2052
2052
'Please update the following components: Recurse' ,
@@ -2114,7 +2114,7 @@ describe('ReactIncremental', () => {
2114
2114
'ShowLocale {"locale":"ru"}' ,
2115
2115
] ) ,
2116
2116
) . toWarnDev (
2117
- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2117
+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
2118
2118
'The old API will be supported in all 16.x releases, but applications ' +
2119
2119
'using it should migrate to the new version.\n\n' +
2120
2120
'Please update the following components: Intl, ShowLocale' ,
@@ -2195,7 +2195,7 @@ describe('ReactIncremental', () => {
2195
2195
</ Intl > ,
2196
2196
) ;
2197
2197
expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2198
- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2198
+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
2199
2199
'The old API will be supported in all 16.x releases, but applications ' +
2200
2200
'using it should migrate to the new version.\n\n' +
2201
2201
'Please update the following components: Intl, ShowLocaleClass, ShowLocaleFn' ,
@@ -2289,7 +2289,7 @@ describe('ReactIncremental', () => {
2289
2289
</ Stateful > ,
2290
2290
) ;
2291
2291
expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2292
- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2292
+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
2293
2293
'The old API will be supported in all 16.x releases, but applications ' +
2294
2294
'using it should migrate to the new version.\n\n' +
2295
2295
'Please update the following components: Intl, ShowLocaleClass, ShowLocaleFn' ,
@@ -2360,7 +2360,7 @@ describe('ReactIncremental', () => {
2360
2360
// Init
2361
2361
ReactNoop . render ( < Root /> ) ;
2362
2362
expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2363
- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2363
+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
2364
2364
'The old API will be supported in all 16.x releases, but applications ' +
2365
2365
'using it should migrate to the new version.\n\n' +
2366
2366
'Please update the following components: Child' ,
@@ -2412,7 +2412,7 @@ describe('ReactIncremental', () => {
2412
2412
// Init
2413
2413
ReactNoop . render ( < Root /> ) ;
2414
2414
expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2415
- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2415
+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
2416
2416
'The old API will be supported in all 16.x releases, but applications ' +
2417
2417
'using it should migrate to the new version.\n\n' +
2418
2418
'Please update the following components: ContextProvider' ,
@@ -2465,7 +2465,7 @@ describe('ReactIncremental', () => {
2465
2465
expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2466
2466
[
2467
2467
'Using UNSAFE_componentWillReceiveProps in strict mode is not recommended' ,
2468
- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2468
+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
2469
2469
'The old API will be supported in all 16.x releases, but applications ' +
2470
2470
'using it should migrate to the new version.\n\n' +
2471
2471
'Please update the following components: MyComponent' ,
@@ -2614,7 +2614,7 @@ describe('ReactIncremental', () => {
2614
2614
) ;
2615
2615
2616
2616
expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2617
- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2617
+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
2618
2618
'The old API will be supported in all 16.x releases, but applications ' +
2619
2619
'using it should migrate to the new version.\n\n' +
2620
2620
'Please update the following components: Child, TopContextProvider' ,
@@ -2678,7 +2678,7 @@ describe('ReactIncremental', () => {
2678
2678
) ;
2679
2679
2680
2680
expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2681
- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2681
+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
2682
2682
'The old API will be supported in all 16.x releases, but applications ' +
2683
2683
'using it should migrate to the new version.\n\n' +
2684
2684
'Please update the following components: Child, MiddleContextProvider, TopContextProvider' ,
@@ -2751,7 +2751,7 @@ describe('ReactIncremental', () => {
2751
2751
) ;
2752
2752
2753
2753
expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2754
- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2754
+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
2755
2755
'The old API will be supported in all 16.x releases, but applications ' +
2756
2756
'using it should migrate to the new version.\n\n' +
2757
2757
'Please update the following components: Child, MiddleContextProvider, TopContextProvider' ,
@@ -2834,7 +2834,7 @@ describe('ReactIncremental', () => {
2834
2834
) ;
2835
2835
2836
2836
expect ( ( ) => expect ( Scheduler ) . toFlushWithoutYielding ( ) ) . toWarnDev (
2837
- 'Legacy context API has been detected within a strict-mode tree: \n\n' +
2837
+ 'Legacy context API has been detected within a strict-mode tree. \n\n' +
2838
2838
'The old API will be supported in all 16.x releases, but applications ' +
2839
2839
'using it should migrate to the new version.\n\n' +
2840
2840
'Please update the following components: Child, MiddleContextProvider, TopContextProvider' ,
0 commit comments