-
Notifications
You must be signed in to change notification settings - Fork 50.1k
Closed as not planned
Labels
Resolution: StaleAutomatically closed due to inactivityAutomatically closed due to inactivityStatus: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bug
Description
Hi team.
We're using Simulate from 'react-dom/test-utils' in our package, which is a dependency for other packages. However, Simulate is deprecated, and it's recommended to use @testing-library/react's fireEvent (https://react.dev/warnings/react-dom-test-utils). The problem is that we need to support React starting from version ^16.8, but @testing-library/react requires React ^18.0.0 as a peer dependency. Given this constraint, do you have any recommendations for what we should use as an alternative to Simulate?
Metadata
Metadata
Assignees
Labels
Resolution: StaleAutomatically closed due to inactivityAutomatically closed due to inactivityStatus: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bug