Skip to content

Commit 9e122b0

Browse files
authored
docs: Fixed broken link: 'internal reducer'
Updated the link about 'internal reducers' as the provided was broken
1 parent aee0e38 commit 9e122b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/options.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Callback function invoked when a promise is cancelled, either manually using `ca
8787

8888
> `function(state: any, action: Object, internalReducer: function(state: any, action: Object))`
8989
90-
State reducer to take full control over state updates by wrapping the [internal reducer](https://github.com/async-library/react-async/blob/master/src/reducer.js). It receives the current state, the dispatched action and the internal reducer. You probably want to invoke the internal reducer at some point.
90+
State reducer to take full control over state updates by wrapping the [internal reducer](https://github.com/async-library/react-async/blob/master/packages/react-async/src/reducer.ts). It receives the current state, the dispatched action and the internal reducer. You probably want to invoke the internal reducer at some point.
9191

9292
> This is a power feature which loosely follows the [state reducer pattern](https://kentcdodds.com/blog/the-state-reducer-pattern). It allows you to control state changes by intercepting actions before they are handled, or by overriding or enhancing the reducer itself.
9393

0 commit comments

Comments
 (0)