react/packages/shared
Andrew Clark 500bea532d
Add option to load Fizz runtime from external file (#25499)
* Add feature flag for external Fizz runtime

Only enabled for www for now

* Add option to load Fizz runtime from external file

When unstable_externalRuntimeSrc is provided, React will inject a script
tag that points to the provided URL.

Then, instead of emitting inline scripts, the Fizz stream will emit
HTML nodes with data attributes that encode the instructions. The
external runtime will detect these with a mutation observer and
translate them into runtime commands. This part isn't implemented in 
this PR, though — all this does is set up the option to use 
an external runtime, and inject the script tag.

The external runtime is injected at the same time as bootstrap scripts.
2022-10-17 17:57:59 -04:00
..
__tests__ Remove Symbol Polyfill (again) (#25144) 2022-08-25 17:01:30 -04:00
forks Add option to load Fizz runtime from external file (#25499) 2022-10-17 17:57:59 -04:00
CheckStringCoercion.js Refactor: more word doubles removed (#25352) 2022-09-29 09:57:49 -04:00
ConsolePatchingDev.js Add console group methods to dev disabled groups (#19069) 2020-07-08 17:28:49 +01:00
ExecutionEnvironment.js give `canUseDOM` with a possibility to be a constant (#14194) 2019-04-25 11:28:53 +01:00
ReactComponentStackFrame.js Flow upgrade to 0.188 2022-10-04 15:49:48 -04:00
ReactDOMSharedInternals.js [react-dom] Reorganize react-dom internals to match react (#25277) 2022-09-15 15:31:31 -07:00
ReactElementType.js Flow: remove explicit object syntax (#25223) 2022-09-09 16:03:48 -04:00
ReactErrorUtils.js Flow: types first in shared (#25343) 2022-10-03 20:57:34 -04:00
ReactFeatureFlags.js Add option to load Fizz runtime from external file (#25499) 2022-10-17 17:57:59 -04:00
ReactInstanceMap.js Rename internal fields (#18377) 2020-03-24 18:19:20 +00:00
ReactServerContextRegistry.js Flow: types first in shared (#25343) 2022-10-03 20:57:34 -04:00
ReactSharedInternals.js Don't support older isomorphic React with newer renderers (#18329) 2020-03-17 19:30:10 +00:00
ReactSymbols.js Initialize useMemoCache with sentinel values (#25465) 2022-10-14 15:00:31 -07:00
ReactTypes.js Add ref to Offscreen component (#25254) 2022-09-23 11:31:34 -04:00
ReactVersion.js bump versions for next release (#24725) 2022-06-14 13:24:00 -07:00
assign.js Remove object-assign polyfill (#23351) 2022-02-23 19:34:24 -05:00
checkPropTypes.js [RFC] Codemod invariant -> throw new Error (#22435) 2021-09-30 12:01:28 -07:00
consoleWithStackDev.js Improve DEV errors if string coercion throws (Temporal.*, Symbol, etc.) (#22064) 2021-09-27 10:05:07 -07:00
enqueueTask.js Flow: types first in shared (#25343) 2022-10-03 20:57:34 -04:00
formatProdErrorMessage.js Pass prod error messages directly to constructor (#17063) 2019-10-11 09:10:40 -07:00
getComponentNameFromType.js [ServerContext] Flight support for ServerContext (#23244) 2022-03-08 07:55:32 -05:00
hasOwnProperty.js Flow upgrade to 0.153 2022-10-04 11:30:06 -04:00
invokeGuardedCallbackImpl.js Flow upgrade to 0.153 2022-10-04 11:30:06 -04:00
isArray.js Reland Remove redundant initial of isArray (#21188) 2021-04-07 07:57:43 -07:00
isValidElementType.js straightford explicit types (#25253) 2022-09-13 17:57:38 -04:00
objectIs.js Flow upgrade to 0.154 2022-10-04 11:49:14 -04:00
package.json Drop Haste (#11303) 2017-10-25 02:55:00 +03:00
shallowEqual.js duplicate value in variable (#22390) 2021-10-11 09:20:15 -04:00