mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
5135f98795
This adds a page to the DOM fixture to test Fragment Refs. The first test case is for `addEventListener`/`removeEventListener`. Setting `enableFragmentRefs` to `__EXPERIMENTAL__` and building is required to run the fixture. <img width="872" alt="Screenshot 2025-03-05 at 12 58 57 PM" src="https://github.com/user-attachments/assets/fee498b7-fd96-4178-9e82-c46d4cb55c9b" />
DOM Fixtures
A set of DOM test cases for quickly identifying browser issues.
Setup
To reference a local build of React, first run yarn build at the root
of the React project. Then:
cd fixtures/dom
yarn
yarn dev
The dev command runs a script that copies over the local build of react into
the public directory.