Skip to content

Commit

Permalink
Revert "Ensure bundlers use vendored React"
Browse files Browse the repository at this point in the history
This reverts commit 8ab8f2d.
  • Loading branch information
eps1lon committed Apr 23, 2024
1 parent 8031916 commit eb482a1
Show file tree
Hide file tree
Showing 97 changed files with 184 additions and 200 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ if (process.env.NODE_ENV !== "production") {
(function() {
'use strict';

var ReactDOM = require("next/dist/compiled/react-dom-experimental");
var React = require("next/dist/compiled/react-experimental");
var ReactDOM = require('react-dom');
var React = require('react');

function createStringDecoder() {
return new TextDecoder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

'use strict';

var ReactDOM = require("next/dist/compiled/react-dom-experimental");
var ReactDOM = require('react-dom');

function createStringDecoder() {
return new TextDecoder();
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ if (process.env.NODE_ENV !== "production") {
(function() {
'use strict';

var ReactDOM = require("next/dist/compiled/react-dom-experimental");
var React = require("next/dist/compiled/react-experimental");
var ReactDOM = require('react-dom');
var React = require('react');

function createStringDecoder() {
return new TextDecoder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

'use strict';

var ReactDOM = require("next/dist/compiled/react-dom-experimental");
var ReactDOM = require('react-dom');

function createStringDecoder() {
return new TextDecoder();
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ if (process.env.NODE_ENV !== "production") {
'use strict';

var util = require('util');
var ReactDOM = require("next/dist/compiled/react-dom-experimental");
var React = require("next/dist/compiled/react-experimental");
var ReactDOM = require('react-dom');
var React = require('react');

function createStringDecoder() {
return new util.TextDecoder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'use strict';

var util = require('util');
var ReactDOM = require("next/dist/compiled/react-dom-experimental");
var ReactDOM = require('react-dom');

function createStringDecoder() {
return new util.TextDecoder();
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ if (process.env.NODE_ENV !== "production") {
'use strict';

var util = require('util');
var ReactDOM = require("next/dist/compiled/react-dom-experimental");
var React = require("next/dist/compiled/react-experimental");
var ReactDOM = require('react-dom');
var React = require('react');

function createStringDecoder() {
return new util.TextDecoder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'use strict';

var util = require('util');
var ReactDOM = require("next/dist/compiled/react-dom-experimental");
var ReactDOM = require('react-dom');

function createStringDecoder() {
return new util.TextDecoder();
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ if (process.env.NODE_ENV !== "production") {
(function() {
'use strict';

var React = require("next/dist/compiled/react-experimental");
var ReactDOM = require("next/dist/compiled/react-dom-experimental");
var React = require('react');
var ReactDOM = require('react-dom');

var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

'use strict';

var React = require("next/dist/compiled/react-experimental");
var ReactDOM = require("next/dist/compiled/react-dom-experimental");
var React = require('react');
var ReactDOM = require('react-dom');

// -----------------------------------------------------------------------------
const enablePostpone = true;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ if (process.env.NODE_ENV !== "production") {
(function() {
'use strict';

var React = require("next/dist/compiled/react-experimental");
var ReactDOM = require("next/dist/compiled/react-dom-experimental");
var React = require('react');
var ReactDOM = require('react-dom');

var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

'use strict';

var React = require("next/dist/compiled/react-experimental");
var ReactDOM = require("next/dist/compiled/react-dom-experimental");
var React = require('react');
var ReactDOM = require('react-dom');

// -----------------------------------------------------------------------------
const enablePostpone = true;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ if (process.env.NODE_ENV !== "production") {
(function() {
'use strict';

var React = require("next/dist/compiled/react-experimental");
var React = require('react');
var util = require('util');
require('crypto');
var async_hooks = require('async_hooks');
var ReactDOM = require("next/dist/compiled/react-dom-experimental");
var ReactDOM = require('react-dom');

var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
var util = require('util');
require('crypto');
var async_hooks = require('async_hooks');
var React = require("next/dist/compiled/react-experimental");
var ReactDOM = require("next/dist/compiled/react-dom-experimental");
var React = require('react');
var ReactDOM = require('react-dom');

// -----------------------------------------------------------------------------
const enablePostpone = true;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ if (process.env.NODE_ENV !== "production") {
(function() {
'use strict';

var React = require("next/dist/compiled/react-experimental");
var React = require('react');
var util = require('util');
require('crypto');
var async_hooks = require('async_hooks');
var ReactDOM = require("next/dist/compiled/react-dom-experimental");
var ReactDOM = require('react-dom');

var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
var util = require('util');
require('crypto');
var async_hooks = require('async_hooks');
var React = require("next/dist/compiled/react-experimental");
var ReactDOM = require("next/dist/compiled/react-dom-experimental");
var React = require('react');
var ReactDOM = require('react-dom');

// -----------------------------------------------------------------------------
const enablePostpone = true;
Expand Down
Loading

0 comments on commit eb482a1

Please sign in to comment.