From e032fddc573ba30c9bd0e6927f59e7816e09cd65 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Sun, 3 Nov 2024 03:09:43 +0800 Subject: [PATCH] release: 0.2.41 --- CHANGELOG.md | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 958fc5a..7eb3ba5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.2.41 + +- `useComponentWillReceiveUpdate` now returns whether the props have changed. You can early return your component to skip the JSX creation, so React can re-execute the component function earlier. + # 0.2.40 **Core Changes** diff --git a/package.json b/package.json index 55340f7..1067197 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "foxact", - "version": "0.2.40", + "version": "0.2.41", "private": true, "description": "React Hooks/Utils done right. For browser, SSR, and React Server Components.", "homepage": "https://foxact.skk.moe",