esamattis / immer-reducer

Type-safe and terse reducers with Typescript for React Hooks and Redux
http://npm.im/immer-reducer
MIT License
225 stars 15 forks source link

Exposing immer's ability to produce patches #47

Open yrral86 opened 4 years ago

yrral86 commented 4 years ago

Please see the README and the additional test cases for an explanation of the new behavior. I would like to be able to produce patches of my redux state so that I can track state in a worker worker and sync relevant bits of the state to the UI/main thread.

yrral86 commented 4 years ago

@esamattis Any thoughts on this PR?

esamattis commented 4 years ago

Yup! Planning to merge but I've been bit busy lately. Will take a look at it soon!

yrral86 commented 4 years ago

No problem, take your time. I just wanted to make sure it was on your radar. Let me know if you have any suggestions for improving it.

On Thu, Jan 2, 2020, 17:32 Esa-Matti Suuronen notifications@github.com wrote:

Yup! Planning to merge but I've been bit busy lately. Will take a look at it soon!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/esamattis/immer-reducer/pull/47?email_source=notifications&email_token=AAAJZYTJHXKFLET6UQJAMP3Q3ZTONA5CNFSM4J2YSF32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH7U3HY#issuecomment-570379679, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAJZYQU4TFUBJHG2UCXNELQ3ZTONANCNFSM4J2YSF3Q .