Skip to content

Releases: iMrDJAi/useSync

v2.0.2: Dual CJS/ESM build!

01 Jun 08:32
Compare
Choose a tag to compare

v2.0.1: Bug fix.

18 May 10:56
20e6323
Compare
Choose a tag to compare

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!

09 May 22:03
4611cce
Compare
Choose a tag to compare
  • 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.

24 Sep 12:50
Compare
Choose a tag to compare
🐛 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!

23 Jan 11:32
Compare
Choose a tag to compare
v1.0.0

1.0.0 release!