You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the new or updated feature that you are suggesting?
As a user of redux, I want to benefits from the use of batch, whatever react backend I am using.
In my case, I am using React-konva, which use react-reconciler from React fiber.
I whish I could call redux setBatch to provide the batchedUpdates function from the reconciler
Why should this feature be included?
Exporting the setBatch is easy to do, and would help lot of user of redux who care about performance.
Since react-redux is not supposed. to work only for react-dom and react-native, it make sense to open this benefits to all.
What docs changes are needed to explain this?
We would need to explain how setBatch works, and provide some example of using it
The text was updated successfully, but these errors were encountered:
We do already have an alternate-renderers entry point that avoids importing batching from ReactDOM or React Native, specifically for use with other renderers. However, I don't think we actually export setBatch atm.
In my case, I am also using react-dom for part of my app, so the import is not really an issue here. But thanks for pointing it, as I was not aware of it.
What is the new or updated feature that you are suggesting?
As a user of redux, I want to benefits from the use of
batch
, whatever react backend I am using.In my case, I am using React-konva, which use react-reconciler from React fiber.
I whish I could call redux
setBatch
to provide thebatchedUpdates
function from the reconcilerWhy should this feature be included?
Exporting the
setBatch
is easy to do, and would help lot of user of redux who care about performance.Since react-redux is not supposed. to work only for react-dom and react-native, it make sense to open this benefits to all.
What docs changes are needed to explain this?
We would need to explain how setBatch works, and provide some example of using it
The text was updated successfully, but these errors were encountered: