Skip to content

LazyLoading Error: react-admin-firebase: RefreshResource is not available in lazy loading mode #289

@GeorgEduard

Description

@GeorgEduard

Hello,

One of our react-admin projects is getting bigger and we need to enable lazyLoading. The problem comes where we use ReferenceManyField. This error appears, and no entries are being fetched. I don't see any way to disable the RefreshResource method. I even tried editing the files and disable it manually, using patch-package, but the error still apears.

Screenshot 2024-08-21 at 14 18 14

Is there a way to bypass this?

L.E.: I forked the repo and commented out the error. The app seems to work without issues now, but I'd still like to be able to use the original package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions