bluebill1049 / little-state-machine-dev-tools

little state machine dev tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Actions not logged, Reset button not working

ptim opened this issue · comments

Hi! Enjoying LSM so far - many thanks!

Just an FYI - I can see the state change, but I'm not seeing any actions logged, and the reset button has no effect. I don't think the Save,Load state buttons are working either, but I haven't tested them very thoroughly.

I don't see any related errors in the console.

"little-state-machine-devtools": "^1.0.0",

MacOS Chrome 83, incognito tab, only two extensions active: react devtools and fullpage screencapture

Thanks for your efforts - will chime in if I can see any place to help 🙏

can you provide a codesandbox?

oh i see, those functions are internal functions, they don't have specific actions.

Aha! Thanks - is there a way to configure those functions without forking the devtool? Do you know of any examples in the wild where they're already configured?

It doesn't seem that they're configured in this repo's examples.. I'd be happy to write up some docs if you can point me in the right direction!

https://codesandbox.io/s/github/bluebill1049/little-state-machine-dev-tools/tree/master/example

I think wan include that as a feature tho, you want to take a look and send a PR?

Sweet! Will look into it, thanks 👍