Skip to content

Commit 137a093

Browse files
authored
Merge branch 'main' into rh/test-event-listener-2
2 parents 6b73d5d + 952aa74 commit 137a093

File tree

68 files changed

+540
-1572
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+540
-1572
lines changed

babel.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
module.exports = {
44
plugins: [
55
'@babel/plugin-syntax-jsx',
6-
'@babel/plugin-transform-react-jsx',
76
'@babel/plugin-transform-flow-strip-types',
87
['@babel/plugin-proposal-class-properties', {loose: true}],
98
'syntax-trailing-function-commas',

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
1515
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
1616
"@babel/plugin-syntax-import-meta": "^7.10.4",
17-
"@babel/plugin-syntax-jsx": "^7.10.4",
17+
"@babel/plugin-syntax-jsx": "^7.23.3",
1818
"@babel/plugin-syntax-typescript": "^7.14.5",
1919
"@babel/plugin-transform-arrow-functions": "^7.10.4",
2020
"@babel/plugin-transform-block-scoped-functions": "^7.10.4",
@@ -27,12 +27,13 @@
2727
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
2828
"@babel/plugin-transform-object-super": "^7.10.4",
2929
"@babel/plugin-transform-parameters": "^7.10.5",
30-
"@babel/plugin-transform-react-jsx-source": "^7.10.5",
30+
"@babel/plugin-transform-react-jsx": "^7.23.4",
31+
"@babel/plugin-transform-react-jsx-development": "^7.22.5",
3132
"@babel/plugin-transform-shorthand-properties": "^7.10.4",
3233
"@babel/plugin-transform-spread": "^7.11.0",
3334
"@babel/plugin-transform-template-literals": "^7.10.5",
3435
"@babel/preset-flow": "^7.10.4",
35-
"@babel/preset-react": "^7.10.4",
36+
"@babel/preset-react": "^7.23.3",
3637
"@babel/traverse": "^7.11.0",
3738
"@rollup/plugin-babel": "^6.0.3",
3839
"@rollup/plugin-commonjs": "^24.0.1",

packages/react-client/src/ReactFlightClient.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ import {
4848
REACT_POSTPONE_TYPE,
4949
} from 'shared/ReactSymbols';
5050

51-
import {getOrCreateServerContext} from 'shared/ReactServerContextRegistry';
52-
5351
export type {CallServerCallback};
5452

5553
type UninitializedModel = string;
@@ -634,10 +632,6 @@ function parseModelString(
634632
// Symbol
635633
return Symbol.for(value.slice(2));
636634
}
637-
case 'P': {
638-
// Server Context Provider
639-
return getOrCreateServerContext(value.slice(2)).Provider;
640-
}
641635
case 'F': {
642636
// Server Reference
643637
const id = parseInt(value.slice(2), 16);

0 commit comments

Comments
 (0)