react-spaces icon indicating copy to clipboard operation
react-spaces copied to clipboard

Attempted import error: 'unstable_useOpaqueIdentifier' is not exported from 'react'

Open aeagle opened this issue 3 years ago • 2 comments

Describe the bug Observed production build error with > v3.8 results in Attempted import error: 'unstable_useOpaqueIdentifier' is not exported from 'react' (imported as 'React').

Looks like recent changes to random id generation have caused this.

To Reproduce npm run build

Expected behavior No error

Package versions (please complete the following information):

  • React version: 18.0.0
  • React spaces version: 0.3.9+

Desktop (please complete the following information):

  • OS: Windows 11

aeagle avatar Jan 23 '23 12:01 aeagle

Any update on when this will be fixed please? Or any work around?

mtstapletonq avatar Aug 15 '23 09:08 mtstapletonq

Hi there. I will aim to fix shortly. In the meantime you could try using version v0.3.8 until this is fixed

aeagle avatar Aug 30 '23 08:08 aeagle