refactor: replace recoil (#1137)

This commit is contained in:
Sukka
2024-06-07 12:27:37 +08:00
committed by GitHub
parent 96e044566c
commit 66dd510acc
15 changed files with 128 additions and 137 deletions

70
pnpm-lock.yaml generated
View File

@@ -52,6 +52,9 @@ importers:
dayjs:
specifier: 1.11.5
version: 1.11.5
foxact:
specifier: ^0.2.34
version: 0.2.34(react@18.3.1)
i18next:
specifier: ^23.11.5
version: 23.11.5
@@ -97,9 +100,6 @@ importers:
react-virtuoso:
specifier: ^4.7.11
version: 4.7.11(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
recoil:
specifier: ^0.7.7
version: 0.7.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
swr:
specifier: ^1.3.0
version: 1.3.0(react@18.3.1)
@@ -2526,6 +2526,12 @@ packages:
}
engines: { node: ">=10" }
client-only@0.0.1:
resolution:
{
integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==,
}
clsx@2.1.1:
resolution:
{
@@ -2836,6 +2842,17 @@ packages:
}
engines: { node: ">=12.20.0" }
foxact@0.2.34:
resolution:
{
integrity: sha512-9GrB4NPhTjaJ5pzMkfYFatLGgt5LWq3hhVhYR7zG/PaHhtt3ObOzdRVmmO/whh5E7W8JBykiS6RLtnjeLZLSeg==,
}
peerDependencies:
react: "*"
peerDependenciesMeta:
react:
optional: true
fs-extra@11.2.0:
resolution:
{
@@ -2898,12 +2915,6 @@ packages:
integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==,
}
hamt_plus@1.0.2:
resolution:
{
integrity: sha512-t2JXKaehnMb9paaYA7J0BX8QQAY8lwfQ9Gjf4pg/mk4krt+cmwmU652HOoWonf+7+EQV97ARPMhhVgU1ra2GhA==,
}
has-flag@3.0.0:
resolution:
{
@@ -3876,21 +3887,6 @@ packages:
}
engines: { node: ">=8.10.0" }
recoil@0.7.7:
resolution:
{
integrity: sha512-8Og5KPQW9LwC577Vc7Ug2P0vQshkv1y3zG3tSSkWMqkWSwHmE+by06L8JtnGocjW6gcCvfwB3YtrJG6/tWivNQ==,
}
peerDependencies:
react: ">=16.13.1"
react-dom: "*"
react-native: "*"
peerDependenciesMeta:
react-dom:
optional: true
react-native:
optional: true
regenerate-unicode-properties@10.1.1:
resolution:
{
@@ -4004,6 +4000,12 @@ packages:
}
hasBin: true
server-only@0.0.1:
resolution:
{
integrity: sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==,
}
shebang-command@2.0.0:
resolution:
{
@@ -6054,6 +6056,8 @@ snapshots:
chownr@2.0.0: {}
client-only@0.0.1: {}
clsx@2.1.1: {}
color-convert@1.9.3:
@@ -6233,6 +6237,13 @@ snapshots:
dependencies:
fetch-blob: 3.2.0
foxact@0.2.34(react@18.3.1):
dependencies:
client-only: 0.0.1
server-only: 0.0.1
optionalDependencies:
react: 18.3.1
fs-extra@11.2.0:
dependencies:
graceful-fs: 4.2.11
@@ -6262,8 +6273,6 @@ snapshots:
graceful-fs@4.2.11: {}
hamt_plus@1.0.2: {}
has-flag@3.0.0: {}
hasown@2.0.2:
@@ -6914,13 +6923,6 @@ snapshots:
dependencies:
picomatch: 2.3.1
recoil@0.7.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
dependencies:
hamt_plus: 1.0.2
react: 18.3.1
optionalDependencies:
react-dom: 18.3.1(react@18.3.1)
regenerate-unicode-properties@10.1.1:
dependencies:
regenerate: 1.4.2
@@ -7011,6 +7013,8 @@ snapshots:
semver@6.3.1: {}
server-only@0.0.1: {}
shebang-command@2.0.0:
dependencies:
shebang-regex: 3.0.0