When will the compact view be compatibile with react v19?
My current findings on v4.3.3 (cannot use v5 due this issue:
)
- After upgrading the repo to React 19, any page that tried to render the CompactView failed before the modal could appear.
- The browser console showed `TypeError: Cannot read properties of undefined (reading 'ReactCurrentOwner')` originating from `@bynder/compact-view` during module evaluation.
- `@bynder/compact-view` is still compiled against React 18 and reaches into `React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner` as soon as the module is loaded.
- React 19 stopped exposing `ReactCurrentOwner` on that object (the internal structure was renamed to `__CLIENT_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED`).
- Because the dependency executes this lookup at import time, the host app had no chance to provide a shim before the failure.