diff --git a/packages/babel-plugin-transform-react-jsx/test/fixtures/react/handle-spread-with-proto-babel-7/input.js b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/handle-spread-with-proto-babel-7/input.js
new file mode 100644
index 000000000000..9c912e5b5dac
--- /dev/null
+++ b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/handle-spread-with-proto-babel-7/input.js
@@ -0,0 +1,7 @@
+var __proto__ = null;
+
+
text
;
+
+{contents}
;
+
+;
diff --git a/packages/babel-plugin-transform-react-jsx/test/fixtures/react/handle-spread-with-proto-babel-7/options.json b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/handle-spread-with-proto-babel-7/options.json
new file mode 100644
index 000000000000..29a3f0e84167
--- /dev/null
+++ b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/handle-spread-with-proto-babel-7/options.json
@@ -0,0 +1,3 @@
+{
+ "BABEL_8_BREAKING": false
+}
diff --git a/packages/babel-plugin-transform-react-jsx/test/fixtures/react/handle-spread-with-proto-babel-7/output.js b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/handle-spread-with-proto-babel-7/output.js
new file mode 100644
index 000000000000..456dad6b23ff
--- /dev/null
+++ b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/handle-spread-with-proto-babel-7/output.js
@@ -0,0 +1,18 @@
+var __proto__ = null;
+
+/*#__PURE__*/
+React.createElement("p", {
+ __proto__: null
+}, "text");
+
+/*#__PURE__*/
+React.createElement("div", {
+ "__proto__": null
+}, contents);
+
+/*#__PURE__*/
+React.createElement("img", babelHelpers.extends({
+ alt: ""
+}, {
+ __proto__
+}));
diff --git a/packages/babel-plugin-transform-react-jsx/test/fixtures/react/handle-spread-with-proto/options.json b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/handle-spread-with-proto/options.json
new file mode 100644
index 000000000000..cbf6d1595427
--- /dev/null
+++ b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/handle-spread-with-proto/options.json
@@ -0,0 +1,3 @@
+{
+ "BABEL_8_BREAKING": true
+}
diff --git a/packages/babel-plugin-transform-react-jsx/test/fixtures/react/handle-spread-with-proto/output.js b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/handle-spread-with-proto/output.js
index 456dad6b23ff..8cbd2578a629 100644
--- a/packages/babel-plugin-transform-react-jsx/test/fixtures/react/handle-spread-with-proto/output.js
+++ b/packages/babel-plugin-transform-react-jsx/test/fixtures/react/handle-spread-with-proto/output.js
@@ -11,8 +11,9 @@ React.createElement("div", {
}, contents);
/*#__PURE__*/
-React.createElement("img", babelHelpers.extends({
- alt: ""
-}, {
- __proto__
-}));
+React.createElement("img", {
+ alt: "",
+ ...{
+ __proto__
+ }
+});