← All tasks
javascriptfloating-ui/floating-ui #2701Not a task: not reproduced

@floating-ui/utils contains react as a peerDependency

envgap__floating-ui__floating-ui-2701

01 / FAILURE SIGNATURE

As reported upstream

The Package: @floating-ui/utils list react as a peer dependency but I could not find any usage of react in its source files.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
44e0f7faa0d29d6c0ab3bfb36b011e1bc8260a33
Manifest
packages/utils/package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

floating-ui/floating-ui #2701 · read the original issue
**Describe the bug** A clear and concise description of what the bug is.



As I am using vue I don't expect react in my node_modules.

The Package: @floating-ui/utils list react as a peer dependency but I could not find any usage of react in its source files.



**To Reproduce**



<!--

Please use one of the following CodeSandboxes to reproduce your issue and make sure not to include any external libraries:



- @floating-ui/dom: https://codesandbox.io/s/floating-ui-dom-template-utpx0u

- @floating-ui/react-dom: https://codesandbox.io/s/floating-ui-react-dom-template-qfufud?file=/src/App.js

-->



Steps to reproduce the behavior:



1. Go to 'https://github.com/floating-ui/floating-ui/blob/master/packages/utils/package.json'

2. Look at 'peerDependencies'



**Expected behavior** A clear and concise description of what you expected to

happen.



I would suggest removing react as a peer dependency or mark it as optional.



Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]