dillon1000/react

Commit

Use modern rendering APIs for attribute-behavior fixture (#27883)

The attribute-behavior fixture now uses `createRoot().render()` and
`renderToReadableStream` instead of depdrecated APIs.

This revealed some changes to the snapshots that I annotated for
discussion.

I also added some new tests related to upcoming changes for easier
future diffing.

Also adds support for running the attribute-behavior fixture using Apple
Silicon chips (Apple MBP M-series).
Browse files
Changed paths6 files
First-parent comparison
M fixtures/attribute-behavior/.gitignore ModifiedM fixtures/attribute-behavior/AttributeTableSnapshot.md ModifiedM fixtures/attribute-behavior/package.json ModifiedM fixtures/attribute-behavior/src/App.js ModifiedM fixtures/attribute-behavior/src/attributes.js ModifiedM fixtures/attribute-behavior/yarn.lock Modified
Patch

Files changed

Rendering syntax-highlighted changes…