Skip to content

Dependency react-native-redash may not be compatible with React 19 #3637

Open
@gogoSpace

Description

@gogoSpace

Description

The library react-native-ui-lib depends on [email protected], which has its last commit over a year ago.
Meanwhile, the latest version of react-native-redash is 18.1.3.

Since react-native-redash requires [email protected], which has a peer dependency of react@"^16.8.0 || ^17.0.0 || ^18.0.0", it raises potential compatibility issues with React 19.

Is there an official recommendation on updating react-native-redash for full React 19 support?


Related to

  • Components
  • Demo
  • Docs
  • Typings

Steps to reproduce

  1. Upgrade react-native-ui-lib to 7.39.0
  2. Use react-native version 0.78.0 (with React 19.0.0)
  3. Run npm install
  4. See warnings about use-memo-one requiring an older React version (^18.0.0 max)

Expected behavior

  • The package should not produce dependency warnings when using React 19.
  • react-native-ui-lib should support the latest stable react-native-redash version.

Actual behavior

  • npm install produces warnings about incompatible peer dependencies:
    npm WARN Could not resolve dependency:
    npm WARN peer react@"^16.8.0 || ^17.0.0 || ^18.0.0" from [email protected]
    npm WARN node_modules/use-memo-one
    npm WARN use-memo-one@"^1.1.1" from [email protected]
  • The react-native-ui-lib package is still using an outdated react-native-redash version.

More Info

Code snippet

No specific code needed, this is a dependency issue.

Environment

  • React Native version: 0.78.0
  • React version: 19.0.0
  • React Native UI Lib version: 7.39.0
  • React Native Redash version (in node_modules): 12.6.1 (latest: 18.1.3)

Affected platforms

  • Android
  • iOS
  • Web

Metadata

Metadata

Assignees

No one assigned

    Labels

    buga bug in one of the components

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions