Skip to content

Commit e77917b

Browse files
authored
Merge pull request #4990 from GeekyAnts/revert-4987-revert-4984-fix/checkbox-group-rerendering-issue
Revert "Revert "Fix/checkbox group rerendering issue""
2 parents 2524fd6 + dd4cc95 commit e77917b

File tree

3 files changed

+40
-2
lines changed

3 files changed

+40
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
"@react-native-aria/slider": "^0.2.5-alpha.1",
189189
"@react-native-aria/tabs": "^0.2.7",
190190
"@react-native-aria/utils": "^0.2.8",
191-
"@react-stately/checkbox": "^3.0.1",
191+
"@react-stately/checkbox": "3.0.3",
192192
"@react-stately/collections": "^3.3.0",
193193
"@react-stately/combobox": "^3.0.0-alpha.1",
194194
"@react-stately/radio": "^3.2.1",

src/components/primitives/Checkbox/Checkbox.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ const Checkbox = (
7272
const inputProps = React.useMemo(() => groupItemInputProps, [
7373
groupItemInputProps.checked,
7474
groupItemInputProps.disabled,
75-
groupItemInputProps,
7675
]);
7776

7877
const [contextCombinedProps] = React.useState({

yarn.lock

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2598,6 +2598,16 @@
25982598
resolved "https://registry.yarnpkg.com/@react-native-community/eslint-plugin/-/eslint-plugin-1.1.0.tgz#e42b1bef12d2415411519fd528e64b593b1363dc"
25992599
integrity sha512-W/J0fNYVO01tioHjvYWQ9m6RgndVtbElzYozBq1ZPrHO/iCzlqoySHl4gO/fpCl9QEFjvJfjPgtPMTMlsoq5DQ==
26002600

2601+
"@react-stately/[email protected]":
2602+
version "3.0.3"
2603+
resolved "https://registry.yarnpkg.com/@react-stately/checkbox/-/checkbox-3.0.3.tgz#18ee6bd3b544334b6f853bb5c5f7017ac3bb9c37"
2604+
integrity sha512-amT889DTLdbjAVjZ9j9TytN73PszynGIspKi1QSUCvXeA2OVyCwShxhV0Pn7yYX8cMinvGXrjhWdhn0nhYeMdg==
2605+
dependencies:
2606+
"@babel/runtime" "^7.6.2"
2607+
"@react-stately/toggle" "^3.2.3"
2608+
"@react-stately/utils" "^3.2.2"
2609+
"@react-types/checkbox" "^3.2.3"
2610+
26012611
"@react-stately/checkbox@^3.0.1":
26022612
version "3.0.1"
26032613
resolved "https://registry.yarnpkg.com/@react-stately/checkbox/-/checkbox-3.0.1.tgz#2e48a2085f1559549df62c1eda78299127acaf80"
@@ -2763,6 +2773,16 @@
27632773
"@react-types/checkbox" "^3.2.1"
27642774
"@react-types/shared" "^3.2.1"
27652775

2776+
"@react-stately/toggle@^3.2.3":
2777+
version "3.2.6"
2778+
resolved "https://registry.yarnpkg.com/@react-stately/toggle/-/toggle-3.2.6.tgz#4f4558d13700d5f9486037e45a585daf9b2ed1c9"
2779+
integrity sha512-M/+iX6eHYZScKfaOQvp3KqityOuRTWLOgskCNlnQBTq5VSszuD2p4uWxJQWXq3DbU+q872Fz4vJ7eTc2l9YA/Q==
2780+
dependencies:
2781+
"@babel/runtime" "^7.6.2"
2782+
"@react-stately/utils" "^3.4.1"
2783+
"@react-types/checkbox" "^3.2.6"
2784+
"@react-types/shared" "^3.11.2"
2785+
27662786
"@react-stately/tree@^3.1.2":
27672787
version "3.1.2"
27682788
resolved "https://registry.yarnpkg.com/@react-stately/tree/-/tree-3.1.2.tgz#54e49cc7fa283ce21d67f642522c8f281c58b309"
@@ -2795,6 +2815,13 @@
27952815
dependencies:
27962816
"@babel/runtime" "^7.6.2"
27972817

2818+
"@react-stately/utils@^3.4.1":
2819+
version "3.4.1"
2820+
resolved "https://registry.yarnpkg.com/@react-stately/utils/-/utils-3.4.1.tgz#56f049aa1704d338968b5973c796ee606e9c0c62"
2821+
integrity sha512-mjFbKklj/W8KRw1CQSpUJxHd7lhUge4i00NwJTwGxbzmiJgsTWlKKS/1rBf48ey9hUBopXT5x5vG/AxQfWTQug==
2822+
dependencies:
2823+
"@babel/runtime" "^7.6.2"
2824+
27982825
"@react-stately/virtualizer@^3.1.2":
27992826
version "3.1.2"
28002827
resolved "https://registry.yarnpkg.com/@react-stately/virtualizer/-/virtualizer-3.1.2.tgz#43a68ef1281ffe55d60ec37a1eabfa60f8256b72"
@@ -2825,6 +2852,13 @@
28252852
dependencies:
28262853
"@react-types/shared" "^3.2.1"
28272854

2855+
"@react-types/checkbox@^3.2.3", "@react-types/checkbox@^3.2.6":
2856+
version "3.2.6"
2857+
resolved "https://registry.yarnpkg.com/@react-types/checkbox/-/checkbox-3.2.6.tgz#61fd70857bdd2d6da9289892ea366f305ab47ed6"
2858+
integrity sha512-bOQAnnDEpXL1P4oRBiwjnOskKQtawc+JcRZzQk/9k7NwKWfv5MHG/MFDJsW057GPm9Ks0onNATohtw6LFvzAQA==
2859+
dependencies:
2860+
"@react-types/shared" "^3.11.2"
2861+
28282862
"@react-types/[email protected]":
28292863
version "3.0.0-alpha.1"
28302864
resolved "https://registry.yarnpkg.com/@react-types/combobox/-/combobox-3.0.0-alpha.1.tgz#4c390d11bc52c248fda92dc7e755f6dc2dc71b82"
@@ -2882,6 +2916,11 @@
28822916
dependencies:
28832917
"@react-types/shared" "^3.4.0"
28842918

2919+
"@react-types/shared@^3.11.2":
2920+
version "3.11.2"
2921+
resolved "https://registry.yarnpkg.com/@react-types/shared/-/shared-3.11.2.tgz#b269c0cf6223664ac42d980b7add1b67b51b87d4"
2922+
integrity sha512-MIjjjkFi/DTzMVmeFJJrpc51eS/PLNzLZEv6o/QJPhQ9uOMElYqA790qAcG75u3tR0XGU2Vv9RyeOC7+ppw8/Q==
2923+
28852924
"@react-types/shared@^3.2.1", "@react-types/shared@^3.3.0":
28862925
version "3.3.0"
28872926
resolved "https://registry.yarnpkg.com/@react-types/shared/-/shared-3.3.0.tgz#4f959df32f3ae94fcc910546088489144fc8d753"

0 commit comments

Comments
 (0)