From 3693b74d97d7b5b8c3cc0f9651cbcb2a5d6c8029 Mon Sep 17 00:00:00 2001 From: Michel Weststrate Date: Sun, 24 Sep 2023 01:49:53 +0200 Subject: [PATCH] update mobx-react-lite (#76) --- README.md | 12 ++++++------ package.json | 4 ++-- yarn.lock | 20 +++++++++++--------- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 132176f..6fae3ad 100644 --- a/README.md +++ b/README.md @@ -418,10 +418,10 @@ yarn jest:update ✓ No tearing finally on update (4651 ms) ✓ No tearing finally on mount (5610 ms) Level 2 - ✕ No tearing temporarily on update (8739 ms) - ✕ No tearing temporarily on mount (6586 ms) + ✓ No tearing temporarily on update (8739 ms) + ✓ No tearing temporarily on mount (6586 ms) Level 3 - ✓ Can interrupt render (time slicing) (3692 ms) + ✕ Can interrupt render (time slicing) (3692 ms) ✕ Can branch state (wip state) (3071 ms) With useDeferredValue Level 1 @@ -429,7 +429,7 @@ yarn jest:update ✓ No tearing finally on mount (6595 ms) Level 2 ✓ No tearing temporarily on update (14724 ms) - ✕ No tearing temporarily on mount (6568 ms) + ✓ No tearing temporarily on mount (6568 ms) ``` @@ -674,14 +674,14 @@ yarn jest:update mobx-react-lite :white_check_mark: :white_check_mark: + :white_check_mark: + :white_check_mark: :x: :x: :white_check_mark: - :x: :white_check_mark: :white_check_mark: :white_check_mark: - :x: diff --git a/package.json b/package.json index 66fdc0d..b3835e0 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,8 @@ "effector-react": "^22.4.0", "graphql": "^16.6.0", "jotai": "^2.0.0", - "mobx": "^6.8.0", - "mobx-react-lite": "^3.4.0", + "mobx": "^6.10.2", + "mobx-react-lite": "^4.0.4", "react": "^18.2.0", "react-dom": "^18.2.0", "react-hooks-global-state": "^2.1.0", diff --git a/yarn.lock b/yarn.lock index def22d8..481028f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5204,15 +5204,17 @@ mkdirp@^0.5.6: dependencies: minimist "^1.2.6" -mobx-react-lite@^3.4.0: - version "3.4.0" - resolved "https://registry.yarnpkg.com/mobx-react-lite/-/mobx-react-lite-3.4.0.tgz#d59156a96889cdadad751e5e4dab95f28926dfff" - integrity sha512-bRuZp3C0itgLKHu/VNxi66DN/XVkQG7xtoBVWxpvC5FhAqbOCP21+nPhULjnzEqd7xBMybp6KwytdUpZKEgpIQ== - -mobx@^6.8.0: - version "6.8.0" - resolved "https://registry.yarnpkg.com/mobx/-/mobx-6.8.0.tgz#59051755fdb5c8a9f3f2e0a9b6abaf86bab7f843" - integrity sha512-+o/DrHa4zykFMSKfS8Z+CPSEg5LW9tSNGTuN8o6MF1GKxlfkSHSeJn5UtgxvPkGgaouplnrLXCF+duAsmm6FHQ== +mobx-react-lite@^4.0.4: + version "4.0.4" + resolved "https://registry.yarnpkg.com/mobx-react-lite/-/mobx-react-lite-4.0.4.tgz#eee3c55dfa6841365d5a7764971c456db12570fb" + integrity sha512-68uNYvQC/5Dazs3sIBv+bnpzRwcWde8y4ujHiLizhq8yeQtJ2tlNUGSh4r40gyE5M0utACIofBDsAj2hplcovQ== + dependencies: + use-sync-external-store "^1.2.0" + +mobx@^6.10.2: + version "6.10.2" + resolved "https://registry.yarnpkg.com/mobx/-/mobx-6.10.2.tgz#96e123deef140750360ca9a5b02a8b91fbffd4d9" + integrity sha512-B1UGC3ieK3boCjnMEcZSwxqRDMdzX65H/8zOHbuTY8ZhvrIjTUoLRR2TP2bPqIgYRfb3+dUigu8yMZufNjn0LQ== ms@2.0.0: version "2.0.0"