Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

prevState in effect? #15

Open
smeijer opened this issue Jul 2, 2020 · 0 comments
Open

prevState in effect? #15

smeijer opened this issue Jul 2, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@smeijer
Copy link

smeijer commented Jul 2, 2020

Would it be possible to expose the prevState to our effects as well?

This would allow us to move the decision to run expensive side effects to the effect, instead of having it in the reducer, wrapping the exec call.

@davidkpiano davidkpiano added the enhancement New feature or request label Jul 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants