Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Error "withRef is removed" as import drfProvider from 'ra-data-drf'; #6

Description

@levanlau

Hi,
I am newbie for using "ra-data-drf".
There is an error "withRef is removed. To access the wrapped instance, use a ref on the connected component". It happens when i past the line "import drfProvider from 'ra-data-drf';" to App.js
When i comment this import line, everything is ok, but if i import it i will have error above.

  • If i install "ra-data-drf" the first(and not install react-admin) and demo, everything is ok.
  • But if i install react-admin the first, then install "ra-data-drf", react-admin notifies error above.
    ===> I try many times, the result is no change. I don't know where I am wrong ?
    Please for me some notes for this, thanks.

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