Releases: beekai-oss/little-state-machine
Releases · beekai-oss/little-state-machine
Version 2.11.2
- fix dev tool with SSR
Version 2.11.1
- improve on dev tool with action name
Version 2.11.0
- remove
debugName
&debugNames
option to retrieve name from function name
Version 2.10.9
- fix [Bug] middleWares option expects state #19
Version 2.10.8
fix node usage
Version 2.10.7
- minor improvement support on TS
Version 2.10.0
Feature: sync with external stores in session/local storage:
This feature allows you to sync other stores which was stored in your session/local storage.
createStore({
yourDetail, // it's an object of your state { firstName: '', lastName: '' }
}, {
syncStores: { // you can sync with external store and transform the data
name: 'externalStoreName',
transform: (externalStore, currentStore) => {
return { ...externalStore, ...currentStore };
},
}
})
or
createStore({
yourDetail,
}, {
syncStores: {
externalStoreName: ['yourDetail']
}
})
Version 2.9.22
- fix load state from dev tool and width issue in console
Version 2.9.19
- support rename store
- support middlewares
- support toggle panel position
Version 2.8.2
- clean code and stable API