CaptainCodeman / rdx

Like Redux, but smaller
https://captaincodeman.github.io/rdx/
33 stars 4 forks source link

refactor: rename ModelStore.dispatch to getDispatch #17

Closed djlauk closed 4 years ago

djlauk commented 4 years ago

I changed dispatch to getDispatch in the ModelStore type, which is used when calling the effects factory method of a model.

⚠️ BREAKING CHANGE ⚠️

This API change will affect every effects branch of every model, that uses the store's dispatch. (That is pretty much every model, unless the effects are just triggering things outside of the model, e.g. calling out to tracking / logging services.)

closes #16