Skip to content

Releases: beekai-oss/little-state-machine

Version 2.11.2

05 Feb 22:21
Compare
Choose a tag to compare
  • fix dev tool with SSR

Version 2.11.1

26 Jan 01:20
Compare
Choose a tag to compare
  • improve on dev tool with action name

Version 2.11.0

20 Jan 00:39
Compare
Choose a tag to compare
  • remove debugName & debugNames option to retrieve name from function name

Version 2.10.9

06 Jan 04:59
Compare
Choose a tag to compare
  • fix [Bug] middleWares option expects state #19

Version 2.10.8

30 Dec 01:02
Compare
Choose a tag to compare

fix node usage

Version 2.10.7

08 Dec 07:25
Compare
Choose a tag to compare
  • minor improvement support on TS

Version 2.10.0

07 Nov 01:02
Compare
Choose a tag to compare

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

09 Oct 00:00
Compare
Choose a tag to compare
  • fix load state from dev tool and width issue in console

Version 2.9.19

20 Sep 04:53
Compare
Choose a tag to compare
  • support rename store
  • support middlewares
  • support toggle panel position

Version 2.8.2

09 Aug 06:37
Compare
Choose a tag to compare
  • clean code and stable API