react-dom 16.8.0-alpha.0 → 16.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/build-info.json +6 -6
  2. package/cjs/react-dom-server.browser.development.js +169 -80
  3. package/cjs/react-dom-server.browser.production.min.js +35 -34
  4. package/cjs/react-dom-server.node.development.js +169 -80
  5. package/cjs/react-dom-server.node.production.min.js +35 -34
  6. package/cjs/react-dom-test-utils.development.js +52 -3
  7. package/cjs/react-dom-test-utils.production.min.js +23 -23
  8. package/cjs/react-dom-unstable-fire.development.js +4081 -3078
  9. package/cjs/react-dom-unstable-fire.production.min.js +254 -245
  10. package/cjs/react-dom-unstable-fire.profiling.min.js +230 -225
  11. package/cjs/react-dom-unstable-fizz.browser.development.js +1 -1
  12. package/cjs/react-dom-unstable-fizz.browser.production.min.js +1 -1
  13. package/cjs/react-dom-unstable-fizz.node.development.js +1 -1
  14. package/cjs/react-dom-unstable-fizz.node.production.min.js +1 -1
  15. package/cjs/react-dom-unstable-native-dependencies.development.js +2 -2
  16. package/cjs/react-dom-unstable-native-dependencies.production.min.js +1 -1
  17. package/cjs/react-dom.development.js +4078 -3076
  18. package/cjs/react-dom.production.min.js +254 -245
  19. package/cjs/react-dom.profiling.min.js +230 -225
  20. package/package.json +24 -52
  21. package/umd/react-dom-server.browser.development.js +169 -80
  22. package/umd/react-dom-server.browser.production.min.js +32 -32
  23. package/umd/react-dom-test-utils.development.js +52 -3
  24. package/umd/react-dom-test-utils.production.min.js +22 -21
  25. package/umd/react-dom-unstable-fire.development.js +4089 -3078
  26. package/umd/react-dom-unstable-fire.production.min.js +208 -202
  27. package/umd/react-dom-unstable-fire.profiling.min.js +212 -208
  28. package/umd/react-dom-unstable-fizz.browser.development.js +1 -1
  29. package/umd/react-dom-unstable-fizz.browser.production.min.js +1 -1
  30. package/umd/react-dom-unstable-native-dependencies.development.js +2 -2
  31. package/umd/react-dom-unstable-native-dependencies.production.min.js +1 -1
  32. package/umd/react-dom.development.js +4086 -3076
  33. package/umd/react-dom.production.min.js +208 -202
  34. package/umd/react-dom.profiling.min.js +212 -208
package/package.json CHANGED
@@ -1,49 +1,30 @@
1
1
  {
2
- "_from": "react-dom@0.0.0-f22621f88",
3
- "_id": "react-dom@0.0.0-f22621f88",
4
- "_inBundle": false,
5
- "_integrity": "sha512-SJolaiF/KiTiD06IZ5zPHky7hnbLnwJeW1WydFnT32vdSSaqhmcFNLv1Iwc1Q7A3im8UZfhfNPduCbQurL/43A==",
6
- "_location": "/react-dom",
7
- "_phantomChildren": {},
8
- "_requested": {
9
- "type": "version",
10
- "registry": true,
11
- "raw": "react-dom@0.0.0-f22621f88",
12
- "name": "react-dom",
13
- "escapedName": "react-dom",
14
- "rawSpec": "0.0.0-f22621f88",
15
- "saveSpec": null,
16
- "fetchSpec": "0.0.0-f22621f88"
2
+ "name": "react-dom",
3
+ "version": "16.8.2",
4
+ "description": "React package for working with the DOM.",
5
+ "main": "index.js",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/facebook/react.git",
9
+ "directory": "packages/react-dom"
17
10
  },
18
- "_requiredBy": [
19
- "#USER",
20
- "/"
11
+ "keywords": [
12
+ "react"
21
13
  ],
22
- "_resolved": "https://registry.npmjs.org/react-dom/-/react-dom-0.0.0-f22621f88.tgz",
23
- "_shasum": "13e6717171f336833baf2f33066735cf06f86f79",
24
- "_spec": "react-dom@0.0.0-f22621f88",
25
- "_where": "/Users/gaearon/p/react/build/node_modules",
26
- "browser": {
27
- "./server.js": "./server.browser.js",
28
- "./unstable-fizz.js": "./unstable-fizz.browser.js"
29
- },
30
- "browserify": {
31
- "transform": [
32
- "loose-envify"
33
- ]
34
- },
14
+ "license": "MIT",
35
15
  "bugs": {
36
16
  "url": "https://github.com/facebook/react/issues"
37
17
  },
38
- "bundleDependencies": false,
18
+ "homepage": "https://reactjs.org/",
39
19
  "dependencies": {
40
20
  "loose-envify": "^1.1.0",
41
21
  "object-assign": "^4.1.1",
42
22
  "prop-types": "^15.6.2",
43
- "scheduler": "^0.13.0-alpha.0"
23
+ "scheduler": "^0.13.2"
24
+ },
25
+ "peerDependencies": {
26
+ "react": "^16.0.0"
44
27
  },
45
- "deprecated": false,
46
- "description": "React package for working with the DOM.",
47
28
  "files": [
48
29
  "LICENSE",
49
30
  "README.md",
@@ -62,22 +43,13 @@
62
43
  "cjs/",
63
44
  "umd/"
64
45
  ],
65
- "homepage": "https://reactjs.org/",
66
- "keywords": [
67
- "react"
68
- ],
69
- "license": "MIT",
70
- "main": "index.js",
71
- "name": "react-dom",
72
- "peerDependencies": {
73
- "react": "^16.0.0"
74
- },
75
- "repository": {
76
- "type": "git",
77
- "url": "git+https://github.com/facebook/react.git"
78
- },
79
- "scripts": {
80
- "start": "node server.js"
46
+ "browser": {
47
+ "./server.js": "./server.browser.js",
48
+ "./unstable-fizz.js": "./unstable-fizz.browser.js"
81
49
  },
82
- "version": "16.8.0-alpha.0"
50
+ "browserify": {
51
+ "transform": [
52
+ "loose-envify"
53
+ ]
54
+ }
83
55
  }
@@ -1,4 +1,4 @@
1
- /** @license React v16.8.0-alpha.0
1
+ /** @license React v16.8.2
2
2
  * react-dom-server.browser.development.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -62,7 +62,7 @@ function invariant(condition, format, a, b, c, d, e, f) {
62
62
 
63
63
  // TODO: this is special because it gets imported during build.
64
64
 
65
- var ReactVersion = '16.8.0-alpha.0';
65
+ var ReactVersion = '16.8.2';
66
66
 
67
67
  var ReactInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
68
68
 
@@ -256,6 +256,15 @@ var lowPriorityWarning$1 = lowPriorityWarning;
256
256
 
257
257
  var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
258
258
 
259
+ // Prevent newer renderers from RTE when used with older react package versions.
260
+ // Current owner and dispatcher used to share the same ref,
261
+ // but PR #14548 split them out to better support the react-debug-tools package.
262
+ if (!ReactSharedInternals.hasOwnProperty('ReactCurrentDispatcher')) {
263
+ ReactSharedInternals.ReactCurrentDispatcher = {
264
+ current: null
265
+ };
266
+ }
267
+
259
268
  /**
260
269
  * Similar to invariant but only logs a warning if the condition is not met.
261
270
  * This can be used to log issues in development environments in critical
@@ -312,7 +321,6 @@ var describeComponentFrame = function (name, source, ownerName) {
312
321
  return '\n in ' + (name || 'Unknown') + sourceInfo;
313
322
  };
314
323
 
315
- var enableHooks = true;
316
324
  // Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
317
325
 
318
326
 
@@ -838,12 +846,15 @@ var capitalize = function (token) {
838
846
  attributeName, 'http://www.w3.org/XML/1998/namespace');
839
847
  });
840
848
 
841
- // Special case: this attribute exists both in HTML and SVG.
842
- // Its "tabindex" attribute name is case-sensitive in SVG so we can't just use
843
- // its React `tabIndex` name, like we do for attributes that exist only in HTML.
844
- properties.tabIndex = new PropertyInfoRecord('tabIndex', STRING, false, // mustUseProperty
845
- 'tabindex', // attributeName
846
- null);
849
+ // These attribute exists both in HTML and SVG.
850
+ // The attribute name is case-sensitive in SVG so we can't just use
851
+ // the React name like we do for attributes that exist only in HTML.
852
+ ['tabIndex', 'crossOrigin'].forEach(function (attributeName) {
853
+ properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
854
+ attributeName.toLowerCase(), // attributeName
855
+ null);
856
+ } // attributeNamespace
857
+ );
847
858
 
848
859
  // code copied and modified from escape-html
849
860
  /**
@@ -1007,21 +1018,6 @@ function is(x, y) {
1007
1018
  ;
1008
1019
  }
1009
1020
 
1010
- function areHookInputsEqual(arr1, arr2) {
1011
- // Don't bother comparing lengths in prod because these arrays should be
1012
- // passed inline.
1013
- {
1014
- !(arr1.length === arr2.length) ? warning$1(false, 'Detected a variable number of hook dependencies. The length of the ' + 'dependencies array should be constant between renders.\n\n' + 'Previous: %s\n' + 'Incoming: %s', arr1.join(', '), arr2.join(', ')) : void 0;
1015
- }
1016
- for (var i = 0; i < arr1.length; i++) {
1017
- if (is(arr1[i], arr2[i])) {
1018
- continue;
1019
- }
1020
- return false;
1021
- }
1022
- return true;
1023
- }
1024
-
1025
1021
  var currentlyRenderingComponent = null;
1026
1022
  var firstWorkInProgressHook = null;
1027
1023
  var workInProgressHook = null;
@@ -1035,12 +1031,47 @@ var renderPhaseUpdates = null;
1035
1031
  var numberOfReRenders = 0;
1036
1032
  var RE_RENDER_LIMIT = 25;
1037
1033
 
1034
+ var isInHookUserCodeInDev = false;
1035
+
1036
+ // In DEV, this is the name of the currently executing primitive hook
1037
+ var currentHookNameInDev = void 0;
1038
+
1038
1039
  function resolveCurrentlyRenderingComponent() {
1039
- !(currentlyRenderingComponent !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component.') : void 0;
1040
+ !(currentlyRenderingComponent !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component. (https://fb.me/react-invalid-hook-call)') : void 0;
1041
+ {
1042
+ !!isInHookUserCodeInDev ? warning$1(false, 'Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. ' + 'You can only call Hooks at the top level of your React function. ' + 'For more information, see ' + 'https://fb.me/rules-of-hooks') : void 0;
1043
+ }
1040
1044
  return currentlyRenderingComponent;
1041
1045
  }
1042
1046
 
1047
+ function areHookInputsEqual(nextDeps, prevDeps) {
1048
+ if (prevDeps === null) {
1049
+ {
1050
+ warning$1(false, '%s received a final argument during this render, but not during ' + 'the previous render. Even though the final argument is optional, ' + 'its type cannot change between renders.', currentHookNameInDev);
1051
+ }
1052
+ return false;
1053
+ }
1054
+
1055
+ {
1056
+ // Don't bother comparing lengths in prod because these arrays should be
1057
+ // passed inline.
1058
+ if (nextDeps.length !== prevDeps.length) {
1059
+ warning$1(false, 'The final argument passed to %s changed size between renders. The ' + 'order and size of this array must remain constant.\n\n' + 'Previous: %s\n' + 'Incoming: %s', currentHookNameInDev, '[' + nextDeps.join(', ') + ']', '[' + prevDeps.join(', ') + ']');
1060
+ }
1061
+ }
1062
+ for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++) {
1063
+ if (is(nextDeps[i], prevDeps[i])) {
1064
+ continue;
1065
+ }
1066
+ return false;
1067
+ }
1068
+ return true;
1069
+ }
1070
+
1043
1071
  function createHook() {
1072
+ if (numberOfReRenders > 0) {
1073
+ invariant(false, 'Rendered more hooks than during the previous render');
1074
+ }
1044
1075
  return {
1045
1076
  memoizedState: null,
1046
1077
  queue: null,
@@ -1075,6 +1106,9 @@ function createWorkInProgressHook() {
1075
1106
 
1076
1107
  function prepareToUseHooks(componentIdentity) {
1077
1108
  currentlyRenderingComponent = componentIdentity;
1109
+ {
1110
+ isInHookUserCodeInDev = false;
1111
+ }
1078
1112
 
1079
1113
  // The following should have already been reset
1080
1114
  // didScheduleRenderPhaseUpdate = false;
@@ -1106,6 +1140,9 @@ function finishHooks(Component, props, children, refOrContext) {
1106
1140
  numberOfReRenders = 0;
1107
1141
  renderPhaseUpdates = null;
1108
1142
  workInProgressHook = null;
1143
+ {
1144
+ isInHookUserCodeInDev = false;
1145
+ }
1109
1146
 
1110
1147
  // These were reset above
1111
1148
  // currentlyRenderingComponent = null;
@@ -1121,10 +1158,16 @@ function finishHooks(Component, props, children, refOrContext) {
1121
1158
  function readContext(context, observedBits) {
1122
1159
  var threadID = currentThreadID;
1123
1160
  validateContextBounds(context, threadID);
1161
+ {
1162
+ !!isInHookUserCodeInDev ? warning$1(false, 'Context can only be read while React is rendering. ' + 'In classes, you can read it in the render method or getDerivedStateFromProps. ' + 'In function components, you can read it directly in the function body, but not ' + 'inside Hooks like useReducer() or useMemo().') : void 0;
1163
+ }
1124
1164
  return context[threadID];
1125
1165
  }
1126
1166
 
1127
1167
  function useContext(context, observedBits) {
1168
+ {
1169
+ currentHookNameInDev = 'useContext';
1170
+ }
1128
1171
  resolveCurrentlyRenderingComponent();
1129
1172
  var threadID = currentThreadID;
1130
1173
  validateContextBounds(context, threadID);
@@ -1136,12 +1179,20 @@ function basicStateReducer(state, action) {
1136
1179
  }
1137
1180
 
1138
1181
  function useState(initialState) {
1182
+ {
1183
+ currentHookNameInDev = 'useState';
1184
+ }
1139
1185
  return useReducer(basicStateReducer,
1140
1186
  // useReducer has a special case to support lazy useState initializers
1141
1187
  initialState);
1142
1188
  }
1143
1189
 
1144
- function useReducer(reducer, initialState, initialAction) {
1190
+ function useReducer(reducer, initialArg, init) {
1191
+ {
1192
+ if (reducer !== basicStateReducer) {
1193
+ currentHookNameInDev = 'useReducer';
1194
+ }
1195
+ }
1145
1196
  currentlyRenderingComponent = resolveCurrentlyRenderingComponent();
1146
1197
  workInProgressHook = createWorkInProgressHook();
1147
1198
  if (isReRender) {
@@ -1160,7 +1211,13 @@ function useReducer(reducer, initialState, initialAction) {
1160
1211
  // priority because it will always be the same as the current
1161
1212
  // render's.
1162
1213
  var _action = update.action;
1214
+ {
1215
+ isInHookUserCodeInDev = true;
1216
+ }
1163
1217
  newState = reducer(newState, _action);
1218
+ {
1219
+ isInHookUserCodeInDev = false;
1220
+ }
1164
1221
  update = update.next;
1165
1222
  } while (update !== null);
1166
1223
 
@@ -1171,13 +1228,18 @@ function useReducer(reducer, initialState, initialAction) {
1171
1228
  }
1172
1229
  return [workInProgressHook.memoizedState, _dispatch];
1173
1230
  } else {
1231
+ {
1232
+ isInHookUserCodeInDev = true;
1233
+ }
1234
+ var initialState = void 0;
1174
1235
  if (reducer === basicStateReducer) {
1175
1236
  // Special case for `useState`.
1176
- if (typeof initialState === 'function') {
1177
- initialState = initialState();
1178
- }
1179
- } else if (initialAction !== undefined && initialAction !== null) {
1180
- initialState = reducer(initialState, initialAction);
1237
+ initialState = typeof initialArg === 'function' ? initialArg() : initialArg;
1238
+ } else {
1239
+ initialState = init !== undefined ? init(initialArg) : initialArg;
1240
+ }
1241
+ {
1242
+ isInHookUserCodeInDev = false;
1181
1243
  }
1182
1244
  workInProgressHook.memoizedState = initialState;
1183
1245
  var _queue2 = workInProgressHook.queue = {
@@ -1189,22 +1251,32 @@ function useReducer(reducer, initialState, initialAction) {
1189
1251
  }
1190
1252
  }
1191
1253
 
1192
- function useMemo(nextCreate, inputs) {
1254
+ function useMemo(nextCreate, deps) {
1193
1255
  currentlyRenderingComponent = resolveCurrentlyRenderingComponent();
1194
1256
  workInProgressHook = createWorkInProgressHook();
1195
1257
 
1196
- var nextInputs = inputs !== undefined && inputs !== null ? inputs : [nextCreate];
1258
+ var nextDeps = deps === undefined ? null : deps;
1197
1259
 
1198
- if (workInProgressHook !== null && workInProgressHook.memoizedState !== null) {
1260
+ if (workInProgressHook !== null) {
1199
1261
  var prevState = workInProgressHook.memoizedState;
1200
- var prevInputs = prevState[1];
1201
- if (areHookInputsEqual(nextInputs, prevInputs)) {
1202
- return prevState[0];
1262
+ if (prevState !== null) {
1263
+ if (nextDeps !== null) {
1264
+ var prevDeps = prevState[1];
1265
+ if (areHookInputsEqual(nextDeps, prevDeps)) {
1266
+ return prevState[0];
1267
+ }
1268
+ }
1203
1269
  }
1204
1270
  }
1205
1271
 
1272
+ {
1273
+ isInHookUserCodeInDev = true;
1274
+ }
1206
1275
  var nextValue = nextCreate();
1207
- workInProgressHook.memoizedState = [nextValue, nextInputs];
1276
+ {
1277
+ isInHookUserCodeInDev = false;
1278
+ }
1279
+ workInProgressHook.memoizedState = [nextValue, nextDeps];
1208
1280
  return nextValue;
1209
1281
  }
1210
1282
 
@@ -1225,6 +1297,9 @@ function useRef(initialValue) {
1225
1297
  }
1226
1298
 
1227
1299
  function useLayoutEffect(create, inputs) {
1300
+ {
1301
+ currentHookNameInDev = 'useLayoutEffect';
1302
+ }
1228
1303
  warning$1(false, 'useLayoutEffect does nothing on the server, because its effect cannot ' + "be encoded into the server renderer's output format. This will lead " + 'to a mismatch between the initial, non-hydrated UI and the intended ' + 'UI. To avoid this, useLayoutEffect should only be used in ' + 'components that render exclusively on the client.');
1229
1304
  }
1230
1305
 
@@ -1261,11 +1336,13 @@ function dispatchAction(componentIdentity, queue, action) {
1261
1336
  }
1262
1337
  }
1263
1338
 
1264
- function noop() {}
1265
- function identity(fn) {
1266
- return fn;
1339
+ function useCallback(callback, deps) {
1340
+ // Callbacks are passed as they are in the server environment.
1341
+ return callback;
1267
1342
  }
1268
1343
 
1344
+ function noop() {}
1345
+
1269
1346
  var currentThreadID = 0;
1270
1347
 
1271
1348
  function setCurrentThreadID(threadID) {
@@ -1280,15 +1357,13 @@ var Dispatcher = {
1280
1357
  useRef: useRef,
1281
1358
  useState: useState,
1282
1359
  useLayoutEffect: useLayoutEffect,
1283
- // Callbacks are passed as they are in the server environment.
1284
- useCallback: identity,
1285
- // useImperativeMethods is not run in the server environment
1286
- useImperativeMethods: noop,
1360
+ useCallback: useCallback,
1361
+ // useImperativeHandle is not run in the server environment
1362
+ useImperativeHandle: noop,
1287
1363
  // Effects are not run in the server environment.
1288
- useEffect: noop
1289
- };
1290
- var DispatcherWithoutHooks = {
1291
- readContext: readContext
1364
+ useEffect: noop,
1365
+ // Debugging effect
1366
+ useDebugValue: noop
1292
1367
  };
1293
1368
 
1294
1369
  var HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';
@@ -3106,11 +3181,7 @@ var ReactDOMServerRenderer = function () {
3106
3181
  var prevThreadID = currentThreadID;
3107
3182
  setCurrentThreadID(this.threadID);
3108
3183
  var prevDispatcher = ReactCurrentDispatcher.current;
3109
- if (enableHooks) {
3110
- ReactCurrentDispatcher.current = Dispatcher;
3111
- } else {
3112
- ReactCurrentDispatcher.current = DispatcherWithoutHooks;
3113
- }
3184
+ ReactCurrentDispatcher.current = Dispatcher;
3114
3185
  try {
3115
3186
  // Markup generated within <Suspense> ends up buffered until we know
3116
3187
  // nothing in that boundary suspended
@@ -3267,7 +3338,25 @@ var ReactDOMServerRenderer = function () {
3267
3338
  case REACT_SUSPENSE_TYPE:
3268
3339
  {
3269
3340
  if (enableSuspenseServerRenderer) {
3270
- var fallbackChildren = toArray(nextChild.props.fallback);
3341
+ var fallback = nextChild.props.fallback;
3342
+ if (fallback === undefined) {
3343
+ // If there is no fallback, then this just behaves as a fragment.
3344
+ var _nextChildren3 = toArray(nextChild.props.children);
3345
+ var _frame3 = {
3346
+ type: null,
3347
+ domNamespace: parentNamespace,
3348
+ children: _nextChildren3,
3349
+ childIndex: 0,
3350
+ context: context,
3351
+ footer: ''
3352
+ };
3353
+ {
3354
+ _frame3.debugElementStack = [];
3355
+ }
3356
+ this.stack.push(_frame3);
3357
+ return '';
3358
+ }
3359
+ var fallbackChildren = toArray(fallback);
3271
3360
  var _nextChildren2 = toArray(nextChild.props.children);
3272
3361
  var _fallbackFrame2 = {
3273
3362
  type: null,
@@ -3285,7 +3374,7 @@ var ReactDOMServerRenderer = function () {
3285
3374
  children: _nextChildren2,
3286
3375
  childIndex: 0,
3287
3376
  context: context,
3288
- footer: ''
3377
+ footer: '<!--/$-->'
3289
3378
  };
3290
3379
  {
3291
3380
  _frame2.debugElementStack = [];
@@ -3293,7 +3382,7 @@ var ReactDOMServerRenderer = function () {
3293
3382
  }
3294
3383
  this.stack.push(_frame2);
3295
3384
  this.suspenseDepth++;
3296
- return '';
3385
+ return '<!--$-->';
3297
3386
  } else {
3298
3387
  invariant(false, 'ReactDOMServer does not yet support Suspense.');
3299
3388
  }
@@ -3307,64 +3396,64 @@ var ReactDOMServerRenderer = function () {
3307
3396
  case REACT_FORWARD_REF_TYPE:
3308
3397
  {
3309
3398
  var element = nextChild;
3310
- var _nextChildren3 = void 0;
3399
+ var _nextChildren4 = void 0;
3311
3400
  var componentIdentity = {};
3312
3401
  prepareToUseHooks(componentIdentity);
3313
- _nextChildren3 = elementType.render(element.props, element.ref);
3314
- _nextChildren3 = finishHooks(elementType.render, element.props, _nextChildren3, element.ref);
3315
- _nextChildren3 = toArray(_nextChildren3);
3316
- var _frame3 = {
3402
+ _nextChildren4 = elementType.render(element.props, element.ref);
3403
+ _nextChildren4 = finishHooks(elementType.render, element.props, _nextChildren4, element.ref);
3404
+ _nextChildren4 = toArray(_nextChildren4);
3405
+ var _frame4 = {
3317
3406
  type: null,
3318
3407
  domNamespace: parentNamespace,
3319
- children: _nextChildren3,
3408
+ children: _nextChildren4,
3320
3409
  childIndex: 0,
3321
3410
  context: context,
3322
3411
  footer: ''
3323
3412
  };
3324
3413
  {
3325
- _frame3.debugElementStack = [];
3414
+ _frame4.debugElementStack = [];
3326
3415
  }
3327
- this.stack.push(_frame3);
3416
+ this.stack.push(_frame4);
3328
3417
  return '';
3329
3418
  }
3330
3419
  case REACT_MEMO_TYPE:
3331
3420
  {
3332
3421
  var _element = nextChild;
3333
- var _nextChildren4 = [React.createElement(elementType.type, _assign({ ref: _element.ref }, _element.props))];
3334
- var _frame4 = {
3422
+ var _nextChildren5 = [React.createElement(elementType.type, _assign({ ref: _element.ref }, _element.props))];
3423
+ var _frame5 = {
3335
3424
  type: null,
3336
3425
  domNamespace: parentNamespace,
3337
- children: _nextChildren4,
3426
+ children: _nextChildren5,
3338
3427
  childIndex: 0,
3339
3428
  context: context,
3340
3429
  footer: ''
3341
3430
  };
3342
3431
  {
3343
- _frame4.debugElementStack = [];
3432
+ _frame5.debugElementStack = [];
3344
3433
  }
3345
- this.stack.push(_frame4);
3434
+ this.stack.push(_frame5);
3346
3435
  return '';
3347
3436
  }
3348
3437
  case REACT_PROVIDER_TYPE:
3349
3438
  {
3350
3439
  var provider = nextChild;
3351
3440
  var nextProps = provider.props;
3352
- var _nextChildren5 = toArray(nextProps.children);
3353
- var _frame5 = {
3441
+ var _nextChildren6 = toArray(nextProps.children);
3442
+ var _frame6 = {
3354
3443
  type: provider,
3355
3444
  domNamespace: parentNamespace,
3356
- children: _nextChildren5,
3445
+ children: _nextChildren6,
3357
3446
  childIndex: 0,
3358
3447
  context: context,
3359
3448
  footer: ''
3360
3449
  };
3361
3450
  {
3362
- _frame5.debugElementStack = [];
3451
+ _frame6.debugElementStack = [];
3363
3452
  }
3364
3453
 
3365
3454
  this.pushProvider(provider);
3366
3455
 
3367
- this.stack.push(_frame5);
3456
+ this.stack.push(_frame6);
3368
3457
  return '';
3369
3458
  }
3370
3459
  case REACT_CONTEXT_TYPE:
@@ -3397,19 +3486,19 @@ var ReactDOMServerRenderer = function () {
3397
3486
  validateContextBounds(reactContext, threadID);
3398
3487
  var nextValue = reactContext[threadID];
3399
3488
 
3400
- var _nextChildren6 = toArray(_nextProps.children(nextValue));
3401
- var _frame6 = {
3489
+ var _nextChildren7 = toArray(_nextProps.children(nextValue));
3490
+ var _frame7 = {
3402
3491
  type: nextChild,
3403
3492
  domNamespace: parentNamespace,
3404
- children: _nextChildren6,
3493
+ children: _nextChildren7,
3405
3494
  childIndex: 0,
3406
3495
  context: context,
3407
3496
  footer: ''
3408
3497
  };
3409
3498
  {
3410
- _frame6.debugElementStack = [];
3499
+ _frame7.debugElementStack = [];
3411
3500
  }
3412
- this.stack.push(_frame6);
3501
+ this.stack.push(_frame7);
3413
3502
  return '';
3414
3503
  }
3415
3504
  case REACT_LAZY_TYPE: