Skip to content
This repository has been archived by the owner on Dec 21, 2018. It is now read-only.

v1.2.0

Compare
Choose a tag to compare
@zalmoxisus zalmoxisus released this 24 Sep 18:44
· 50 commits to master since this release

Lock changes (Drop new actions)

When lockChanges(true) ({ type: 'LOCK_CHANGES', status: true }) dispatched, all future actions will be dropped, so it will avoid side effects while tie travelling and will allow to prevent altering the state while working on a feature. To unlock changes, dispatch lockChanges(false).