Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit fce1e71

Browse files
authored
feat(nanostores): replace redux with nanostores (#16)
1 parent 05c5b9f commit fce1e71

23 files changed

Lines changed: 204 additions & 340 deletions

File tree

package-lock.json

Lines changed: 35 additions & 125 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,21 @@
1919
},
2020
"dependencies": {
2121
"@headlessui/react": "1.7.11",
22-
"@reduxjs/toolkit": "1.9.2",
22+
"@nanostores/react": "0.4.1",
2323
"@tanstack/react-virtual": "3.0.0-beta.49",
2424
"autoprefixer": "10.4.13",
2525
"classnames": "2.3.2",
2626
"compose-function": "3.0.3",
2727
"daisyui": "2.51.2",
2828
"firebase": "9.17.1",
2929
"i18next": "22.4.9",
30+
"nanostores": "0.7.4",
3031
"postcss": "8.4.21",
3132
"react": "18.2.0",
3233
"react-dom": "18.2.0",
3334
"react-firebase-hooks": "5.1.1",
3435
"react-hook-form": "^7.43.2",
3536
"react-i18next": "12.1.4",
36-
"react-redux": "8.0.5",
3737
"react-router": "6.6.2",
3838
"react-router-dom": "6.6.2",
3939
"tailwindcss": "3.2.7",

src/app/providers/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import compose from 'compose-function';
22
import { withRouter } from './with-router';
3-
import { withStore } from './with-store';
43

5-
export const withProviders = compose(withRouter, withStore);
4+
export const withProviders = compose(withRouter);

src/app/providers/with-store.tsx

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/entities/game/slices/filters.ts

Lines changed: 0 additions & 22 deletions
This file was deleted.

src/entities/game/slices/games.ts

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)