From 987c656ae069d35d55658cc279e39d03915896f5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 20 Aug 2022 21:41:01 +0200 Subject: [PATCH] Version Packages (next) (#14) Co-authored-by: github-actions[bot] --- .changeset/pre.json | 3 ++- CHANGELOG.md | 6 ++++++ package.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 699d29d..1d8fee6 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -9,6 +9,7 @@ "lazy-buckets-accept", "orange-pillows-smash", "smooth-points-remember", - "spotty-planets-begin" + "spotty-planets-begin", + "wicked-roses-switch" ] } diff --git a/CHANGELOG.md b/CHANGELOG.md index 5490bdc..205d20b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.6.0-next.2 + +### Patch Changes + +- a5f5533: `useStore` will now force the component to re-render if a change was detected between the React render/reconcile stage and the invocation of the layout effect that actually sets up the subscription listener. This improves reactivity in situations where values were changed in the store during the render phase, or imperatively from outside of your React component tree. + ## 0.6.0-next.1 ### Minor Changes diff --git a/package.json b/package.json index f62eea1..5688520 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "hooks" ], "sideEffects": false, - "version": "0.6.0-next.1", + "version": "0.6.0-next.2", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts",