Skip to content

Commit

Permalink
docs: fix incorrect link in hooks page (#1832)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvh95 authored Oct 25, 2021
1 parent 7763096 commit adade20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export const App = () => {
}
```

However, when the selector is used in multiple component instances and depends on the component's props, you need to ensure that each component instance gets its own selector instance (see [here](https://github.com/reduxjs/reselect#accessing-react-props-in-selectors) for a more thorough explanation of why this is necessary):
However, when the selector is used in multiple component instances and depends on the component's props, you need to ensure that each component instance gets its own selector instance (see [here](https://github.com/reduxjs/reselect#q-can-i-share-a-selector-across-multiple-component-instances) for a more thorough explanation of why this is necessary):

```jsx
import React, { useMemo } from 'react'
Expand Down

0 comments on commit adade20

Please sign in to comment.