react/scripts
Sebastian Markbåge dbe3363ccd
[Fizz] Implement Legacy renderToString and renderToNodeStream on top of Fizz (#21276)
* Wire up DOM legacy build

* Hack to filter extra comments for testing purposes

* Use string concat in renderToString

I think this might be faster. We could probably use a combination of this
technique in the stream too to lower the overhead.

* Error if we can't complete the root synchronously

Maybe this should always error but in the async forms we can just delay
the stream until it resolves so it does have some useful semantics.

In the synchronous form it's never useful though. I'm mostly adding the
error because we're testing this behavior for renderToString specifically.

* Gate memory leak tests of internals

These tests don't translate as is to the new implementation and have been
ported to the Fizz tests separately.

* Enable Fizz legacy mode in stable

* Add wrapper around the ServerFormatConfig for legacy mode

This ensures that we can inject custom overrides without negatively
affecting the new implementation.

This adds another field for static mark up for example.

* Wrap pushTextInstance to avoid emitting comments for text in static markup

* Don't emit static mark up for completed suspense boundaries

Completed and client rendered boundaries are only marked for the client
to take over.

Pending boundaries are still supported in case you stream non-hydratable
mark up.

* Wire up generateStaticMarkup to static API entry points

* Mark as renderer for stable

This shouldn't affect the FB one ideally but it's done with the same build
so let's hope this works.
2021-06-14 12:54:30 -07:00
..
babel Fix "missing flag" error for non-boolean types (#18592) 2020-04-13 12:57:31 -07:00
bench make link https (#19147) 2020-06-30 12:43:52 +01:00
circleci lint-build: Infer format from artifact filename (#21489) 2021-05-12 10:14:45 -07:00
error-codes Implement useOpaqueIdentifier (#21260) 2021-04-14 14:25:42 -07:00
eslint Pass extra CLI args through to ESLint (#20250) 2020-11-13 11:00:45 -08:00
eslint-rules Cross-fork lint: Support named export declaration (#20784) 2021-02-10 11:01:52 -08:00
flow [React Native] Fabric get current event priority (#21553) 2021-06-08 12:26:21 -04:00
git Remove leftover env variable logic in pre-commit hook 2015-09-01 14:35:47 -07:00
jest Deprecate ReactDOM.render and ReactDOM.hydrate (#21652) 2021-06-09 13:46:55 -07:00
merge-fork Add --reverse option to replace-fork script (#20249) 2020-11-13 11:09:02 -08:00
perf-counters Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
prettier Fixture: Legacy JSX Runtimes (#20012) 2020-10-14 18:28:03 +01:00
print-warnings Ignore node_modules when printing warnings (#20363) 2020-12-01 08:01:16 -08:00
release Fix tag validation 2021-06-08 11:53:43 -04:00
rollup [Fizz] Implement Legacy renderToString and renderToNodeStream on top of Fizz (#21276) 2021-06-14 12:54:30 -07:00
shared [Fizz] Implement Legacy renderToString and renderToNodeStream on top of Fizz (#21276) 2021-06-14 12:54:30 -07:00
tasks Parallelize Flow in CI (#20794) 2021-02-10 17:54:58 -06:00
yarn chore: upgrade to jest 24 (#15778) 2019-10-03 22:44:18 +05:30
authors AUTHORS 2013-09-09 23:42:54 -07:00