Skip to content

Commit 6f87025

Browse files
committed
~ Remove auto-bind from deps and docs
1 parent 352c5fd commit 6f87025

File tree

4 files changed

+3
-15
lines changed

4 files changed

+3
-15
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -552,9 +552,7 @@ zustand - src/react.bench.tsx > simple count
552552
### `TwoAndEight`
553553

554554
The abstract class that all stores must extend if you would like to use the
555-
following utility methods. The class also
556-
[auto-binds](https://www.npmjs.com/package/auto-bind) your actions so you don't
557-
need to use arrow functions or bind methods in the constructor.
555+
following utility methods.
558556

559557
```ts
560558
class Store extends TwoAndEight {

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
"test": "vitest --typecheck"
3333
},
3434
"dependencies": {
35-
"@ver0/deep-equal": "^1.0.0",
36-
"auto-bind": "^5.0.1"
35+
"@ver0/deep-equal": "^1.0.0"
3736
},
3837
"devDependencies": {
3938
"@commits-with-character/conventional-changelog-preset": "^5.1.1",

pnpm-lock.yaml

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

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default defineConfig({
1010
},
1111
minify: false,
1212
rollupOptions: {
13-
external: ['react', '@ver0/deep-equal', 'auto-bind'],
13+
external: ['react', '@ver0/deep-equal'],
1414
output: {
1515
preserveModules: true,
1616
preserveModulesRoot: 'src',

0 commit comments

Comments
 (0)