Named setState() calls
sebholstein opened this issue · comments
Sebastian Holstein commented
Could be useful for Redux Devtools / debugging:
setState({stateFn: (s) => ({count: s.count + 1}), action: 'incrementCount'});
A tiny, yet powerful state management library for Angular
sebholstein opened this issue · comments
Could be useful for Redux Devtools / debugging:
setState({stateFn: (s) => ({count: s.count + 1}), action: 'incrementCount'});