Skip to content
Myr

docs: fix broken migrating-to-v5 link in README (#3567)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

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

authored by Daishi Kato · committed by GitHub · parent b126c33 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: fandi <irfanfandi38@gmail.com>
  • Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:README.md+1 added-1 removed
115 unmodified lines
116// Mapped picks, re-renders the component when state.treats changes in order, count or keys117const treats = useBearStore(useShallow((state) => Object.keys(state.treats)))118```119120For 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)).120For 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)).121122```jsx123const treats = useBearStore(124 (state) => state.treats,
388 unmodified lines