-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ra-realtime alternative #4044
Comments
Realtime support wasn't ready for prime time in v3. Until it is, please ask the community for help. And if you want to speed up the reimplementation of ra-realtime by supporting us financially, please get in touch. |
@fzaninotto Can you elaborate why ra-realtime wasn't ready for prime-time? |
We just did not have the time to migrate it.
Because react and redux have evolved, we are moving away from redux-saga and using hooks instead.
Nice :) |
Thanks for reply. The more fundamental issue I think is the lack of granularity of rendering the data updates. If you have a List view and only 1 cell in 1 record updates, it's still going to update the whole list, and will do that every time with every update (since basically ra-realtime creates a new FETCH_LIST action from a data update). Any suggestion how we could go about improving that in react-admin to update only changed records, or only changed cells within those records in a Li? Obviously we could throttle the updates of the whole page by changing the 'realtimeObserverChannel' in ra-realtime to act in less than realtime but that defeats the purpose. |
react-admin 2 had the ra-realtime package for realtime updates, this has been deprecated and removed #3908
@fzaninotto commented about an alternative right way to do this using a global EventListener, can we get an example?
The text was updated successfully, but these errors were encountered: