You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#32 should fix the throwing in React 19. However, there are still two tests that fail due to effect ordring differences. Will need to look further there
This library makes use of
React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner
, which is removed in React 19.Therefore, when trying to use it with React 19, you get "TypeError: Cannot read properties of undefined (reading 'ReactCurrentOwner')".
Reproduction: https://codesandbox.io/p/sandbox/fluentui-react-components-with-react-19-g4g5pw?file=%2Fsrc%2FApp.tsx
The error happens here:
use-disposable/src/useIsStrictMode.ts
Lines 6 to 9 in 3e3d4a3
The text was updated successfully, but these errors were encountered: