hyperapp-redux-devtools icon indicating copy to clipboard operation
hyperapp-redux-devtools copied to clipboard

Add option to persist to localStorage

Open andyrj opened this issue 8 years ago • 5 comments

This will help support live-reload workflows.

andyrj avatar Jul 11 '17 17:07 andyrj

Maybe you can use my tiny tiny lib called lspi. Something like import { set, get } from 'lspi';

Could also be complete overkill haha

selfup avatar Jan 10 '18 00:01 selfup

I will probably try to avoid dependencies.

andyrj avatar Jan 10 '18 01:01 andyrj

Yea makes sense. It's like 10ish lines to solve it with pure LS calls.

selfup avatar Jan 10 '18 02:01 selfup

Are we still considering this? If so what is the biggest advantage? 🙏

selfup avatar Feb 06 '18 02:02 selfup

I haven't really been looking at adding features to this lib currently. If someone wants to open a PR to add it, I'd be happy to review/test the addition. I know it was discussed at one point to better support the reload on change workflow with this tool. I've always preferred hmr.

andyrj avatar Feb 06 '18 03:02 andyrj