Commit 3f5cde5
Brian Vaughn
Don't bypass useContext to go straight to readContext anymore
This adds a small amount of overhead, so I'm not sure if it will fly. I think it might be necessary though in order to support the react-debug-tools package.1 parent e777462 commit 3f5cde5
File tree
3 files changed
+32
-30
lines changed- packages
- react-debug-tools/src
- __tests__
- react-reconciler/src
3 files changed
+32
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
| 96 | + | |
100 | 97 | | |
101 | 98 | | |
102 | 99 | | |
| |||
Lines changed: 27 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
446 | 437 | | |
447 | 438 | | |
448 | | - | |
449 | | - | |
450 | | - | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
451 | 445 | | |
452 | 446 | | |
453 | 447 | | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
454 | 461 | | |
455 | | - | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
456 | 467 | | |
457 | 468 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
| 527 | + | |
531 | 528 | | |
532 | 529 | | |
533 | 530 | | |
534 | 531 | | |
535 | 532 | | |
536 | 533 | | |
537 | 534 | | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
| 535 | + | |
542 | 536 | | |
543 | 537 | | |
544 | 538 | | |
| |||
1156 | 1150 | | |
1157 | 1151 | | |
1158 | 1152 | | |
1159 | | - | |
| 1153 | + | |
1160 | 1154 | | |
1161 | 1155 | | |
1162 | 1156 | | |
| |||
1171 | 1165 | | |
1172 | 1166 | | |
1173 | 1167 | | |
1174 | | - | |
| 1168 | + | |
1175 | 1169 | | |
1176 | 1170 | | |
1177 | 1171 | | |
| |||
0 commit comments