This repository has been archived by the owner on Feb 14, 2023. It is now read-only.
0.2.0
Features
-
Added
addCallback
to execute a function after global state changes. #29 -
Added
getGlobal
helper function for accessing a snapshot of the current global state. #35 -
Added
removeCallback
to remove callbacks added viaaddCallback
.
Miscellaneous
-
Added unit tests for most helper functions.
-
Ported the singleton global state to a default global state, in preparation for multiple global states via the Context API.