Skip to content

Commit

Permalink
Fix links to lodash (#62188)
Browse files Browse the repository at this point in the history
Co-authored-by: senadir <[email protected]>
Co-authored-by: cbravobernal <[email protected]>
  • Loading branch information
3 people authored May 31, 2024
1 parent 8f74d5c commit 362d687
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions packages/compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ This is inspired by `lodash`'s `flowRight` function.

_Related_

- <https://docs-lodash.com/v4/flow-right/>
- <https://lodash.com/docs/4#flow-right>

### createHigherOrderComponent

Expand Down Expand Up @@ -145,7 +145,7 @@ This is inspired by `lodash`'s `flow` function.

_Related_

- <https://docs-lodash.com/v4/flow/>
- <https://lodash.com/docs/4#flow>

### pure

Expand Down Expand Up @@ -247,7 +247,7 @@ Debounces a function similar to Lodash's `debounce`. A new debounced function wi

_Related_

- <https://docs-lodash.com/v4/debounce/>
- <https://lodash.com/docs/4#debounce>

_Parameters_

Expand Down Expand Up @@ -535,7 +535,7 @@ Throttles a function similar to Lodash's `throttle`. A new throttled function wi

_Related_

- <https://docs-lodash.com/v4/throttle/>
- <https://lodash.com/docs/4#throttle>

_Parameters_

Expand Down
2 changes: 1 addition & 1 deletion packages/compose/src/higher-order/compose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { basePipe } from './pipe';
*
* This is inspired by `lodash`'s `flowRight` function.
*
* @see https://docs-lodash.com/v4/flow-right/
* @see https://lodash.com/docs/4#flow-right
*/
const compose = basePipe( true );

Expand Down
4 changes: 2 additions & 2 deletions packages/compose/src/higher-order/pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
*
* Allows to choose whether to perform left-to-right or right-to-left composition.
*
* @see https://docs-lodash.com/v4/flow/
* @see https://lodash.com/docs/4#flow
*
* @param {boolean} reverse True if right-to-left, false for left-to-right composition.
*/
Expand All @@ -67,7 +67,7 @@ const basePipe =
*
* This is inspired by `lodash`'s `flow` function.
*
* @see https://docs-lodash.com/v4/flow/
* @see https://lodash.com/docs/4#flow
*/
const pipe = basePipe();

Expand Down
2 changes: 1 addition & 1 deletion packages/compose/src/hooks/use-debounce/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { debounce } from '../../utils/debounce';
* including the function to debounce, so please wrap functions created on
* render in components in `useCallback`.
*
* @see https://docs-lodash.com/v4/debounce/
* @see https://lodash.com/docs/4#debounce
*
* @template {(...args: any[]) => void} TFunc
*
Expand Down
2 changes: 1 addition & 1 deletion packages/compose/src/hooks/use-throttle/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { throttle } from '../../utils/throttle';
* including the function to throttle, so please wrap functions created on
* render in components in `useCallback`.
*
* @see https://docs-lodash.com/v4/throttle/
* @see https://lodash.com/docs/4#throttle
*
* @template {(...args: any[]) => void} TFunc
*
Expand Down

0 comments on commit 362d687

Please sign in to comment.