# React consumer example Run from the repository root with Node from .node-version and Yarn Classic 1.22.22. Install once with yarn install --frozen-lockfile; keep only the root yarn.lock in version control. ```sh yarn dev:react yarn typecheck:react yarn lint:react yarn build:react yarn test:react-consumer ``` build:react writes to refactor/.cache/react-example-dist. It uses built workspace package entrypoints. Rebuild a changed library with `yarn build ` before testing its integration. The consumer test packs the current core, Danmuku and Document PiP distributions, installs them outside the workspace, verifies their bytes, typechecks and builds the copied example, and exercises it in Chromium, Firefox and WebKit. No package aliases to source files are used. Reports and the consumer lock are in unique refactor/.cache/react-consumer-* folders. ## Component contract and ownership - src/Player.tsx owns one Artplayer instance per effect. Existing props remain option: `Partial