benwinding / react-admin-firebase

A firebase data provider for the react-admin framework
https://benwinding.github.io/react-admin-firebase/
MIT License
460 stars 175 forks source link

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

Open GeorgEduard opened 1 month ago

GeorgEduard commented 1 month ago

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.