Skip to content

React 19 / React Native 0.81 compatibility – peer dependency conflict with @nozbe/with-observablesΒ #1956

Description

@pankajnegi1893

Hi team πŸ‘‹,

I’m in the process of upgrading my React Native project to React Native 0.81.5, which requires React 19.x.

While upgrading, I’m running into a peer dependency conflict with @nozbe/with-observables@1.6.0.

Environment

  • React Native: 0.81.5
  • React: 19.1.0
  • @nozbe/with-observables: 1.6.0
  • Package manager: npm

Error

npm error While resolving: @nozbe/with-observables@1.6.0
npm error Found: react@19.1.0
npm error node_modules/react
npm error Could not resolve dependency:
npm error peer react@"^16||^17||^18" from @nozbe/with-observables@1.6.0
npm error node_modules/@nozbe/with-observables
npm error   @nozbe/with-observables@"^1.6.0" from the root project
npm error
npm error Conflicting peer dependency: react@18.3.1
npm error node_modules/react
npm error   peer react@"^16||^17||^18" from @nozbe/with-observables@1.6.0
npm error   node_modules/@nozbe/with-observables
npm error     @nozbe/with-observables@"^1.6.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error

Observation

React Native 0.81.x enforces React 19 as a peer dependency, but @nozbe/with-observables currently supports only React 16–18, which blocks the upgrade.

Question

Are there any plans or timelines to:

Add React 19 support, or

Release a version compatible with React Native 0.81+?

This would be very helpful for projects upgrading to the latest React Native versions.

Thanks in advance, and appreciate the work on this library πŸ™

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions