Skip to content

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

@aeagle

Description

@aeagle

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions