Releases: iMrDJAi/useSync
Releases · iMrDJAi/useSync
v2.0.2: Dual CJS/ESM build!
Full Changelog: v2.0.1...v2.0.2
v2.0.1: Bug fix.
What's Changed
- 🐛 Prevent overriding initialValue by undefined when not passing a newValue to sync() by @iMrDJAi in #2
Full Changelog: v2.0.0...v2.0.1
v2.0.0: Feature update!
- Added a way to pass values to components through the hook.
- Added type definitions.
- More clear docs.
- No breaking changes.
v1.1.0: Includes a bug fix.
🐛 Bug Fix! Sometimes when you attempt to sync a large amount of components at once, some of them gets ignored and won't be affected. This is due the fact we're using a loop to call render() on each one of them, and this could go so fast the way that react cannot handle all of these updates. A good solution would be wrapping render() inside a timeout just like that: setTimeout(() => render(), 0).
The first release!
v1.0.0 1.0.0 release!