v2.0.0
What's Changed
- v2 by @Marcisbee in #18
Breaking
- Reorganizes imports;
- Removes
updateMap
; - Replaces
updateView
withupdateAll
; - Replaces
exomeDevtools
withexomeReduxDevtools
.
Migration guide
v2 includes some breaking changes around subscriptions. It better reorganizes files and imports.
Here are changes that need to be made:
subscribe
is no longer in a separate import:
-import { subscribe } from "exome/subscribe";
+import { subscribe } from "exome";
saveState
,loadState
andregisterLoadable
is no longer part of root import:
-import { saveState, loadState, registerLoadable } from "exome";
+import { saveState, loadState, registerLoadable } from "exome/state";
GhostExome
is no longer part of root import:
-import { GhostExome } from "exome";
+import { GhostExome } from "exome/ghost";
-
updateMap
is no longer exposed (usesubscribe
,update
andupdateAll
to listen to changes or trigger them): -
updateView
is renamed toupdateAll
:
-import { updateView } from "exome";
+import { updateAll } from "exome";
exomeDevtools
is renamed toexomeReduxDevtools
:
-import { exomeDevtools } from "exome/devtools";
+import { exomeReduxDevtools } from "exome/devtools";
Full Changelog: v1.5.6...v2.0.0