Skip to content

Commit ea612a5

Browse files
dai-shiirfanfandiclaude
authored
docs: fix broken migrating-to-v5 link in README (#3567)
The `createWithEqualityFn` note linked to ./docs/migrations/migrating-to-v5.md, but the migration guides live under ./docs/reference/migrations/. Point the link at the existing file so the anchor resolves. Claude-Session: https://claude.ai/code/session_012TECwEsvMbRbisqtW2R2iV Co-authored-by: fandi <[email protected]> Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
1 parent b126c33 commit ea612a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const [nuts, honey] = useBearStore(
117117
const treats = useBearStore(useShallow((state) => Object.keys(state.treats)))
118118
```
119119

120-
For more control over re-rendering, you may provide any custom equality function (this example requires the use of [`createWithEqualityFn`](./docs/migrations/migrating-to-v5.md#using-custom-equality-functions-such-as-shallow)).
120+
For more control over re-rendering, you may provide any custom equality function (this example requires the use of [`createWithEqualityFn`](./docs/reference/migrations/migrating-to-v5.md#using-custom-equality-functions-such-as-shallow)).
121121

122122
```jsx
123123
const treats = useBearStore(

0 commit comments

Comments
 (0)