sebholstein / tinystate

A tiny, yet powerful state management library for Angular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Named setState() calls

sebholstein opened this issue · comments

Could be useful for Redux Devtools / debugging:

setState({stateFn: (s) => ({count: s.count + 1}), action: 'incrementCount'});