A boilerplate free simple state management library
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] 7 months ago
#26 52d8540
Thanks @shahriar-shojib! - ## @poly-state/core:
import { transact } from '@poly-state/core';
transact(() => {
store1.setState({ count: 1 });
store2.setState({ name: test });
store2.setState({ address: 'London' });
});
store 1 and store 2 will be updated only once!
useSyncExternalStore
shallowCompare
Updated dependencies [52d8540
, 218ed5d
]:
Published by github-actions[bot] 7 months ago
52d8540
, 218ed5d
]:
Published by github-actions[bot] 7 months ago
#26 52d8540
Thanks @shahriar-shojib! - ## @poly-state/core:
import { transact } from '@poly-state/core';
transact(() => {
store1.setState({ count: 1 });
store2.setState({ name: test });
store2.setState({ address: 'London' });
});
store 1 and store 2 will be updated only once!
useSyncExternalStore
shallowCompare
218ed5d
Thanks @shahriar-shojib! - - Added Batching
Published by github-actions[bot] about 2 years ago
#23 a2f2dad
Thanks @shahriar-shojib! - @poly-state/core
@poly-state/react
@poly-state/preact
Published by github-actions[bot] about 2 years ago
#23 a2f2dad
Thanks @shahriar-shojib! - @poly-state/core
@poly-state/react
@poly-state/preact
a2f2dad
]:
Published by github-actions[bot] about 2 years ago
#23 a2f2dad
Thanks @shahriar-shojib! - @poly-state/core
@poly-state/react
@poly-state/preact
a2f2dad
]:
Published by github-actions[bot] about 2 years ago
5979802
Thanks @shahriar-shojib! - added tests for re render trackingPublished by github-actions[bot] about 2 years ago
e660ebd
Thanks @shahriar-shojib! - @poly-state/core removed unnecessary depencenciesPublished by github-actions[bot] about 2 years ago
e660ebd
Thanks @shahriar-shojib! - @poly-state/core removed unnecessary depencenciese660ebd
]:
Published by github-actions[bot] about 2 years ago
e660ebd
Thanks @shahriar-shojib! - @poly-state/core removed unnecessary depencenciese660ebd
]:
Published by sonjoydatta over 2 years ago
hydrate
and setState
Full Changelog: https://github.com/poly-state/poly-state/compare/1.1.3...1.1.4
Published by sonjoydatta over 2 years ago
Full Changelog: https://github.com/poly-state/poly-state/compare/1.1.1...1.1.3
Published by shahriar-shojib over 2 years ago
Full Changelog: https://github.com/poly-state/poly-state/compare/1.0.0...1.1.0
Published by shahriar-shojib over 2 years ago
This is what I consider to have all the necessary features needed by a store
Full Changelog: https://github.com/poly-state/poly-state/commits/1.0.0