Skip to content

Commit

Permalink
docs: format src/content/blog/2024/04/25/react-19.md (#6883)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiner-tang committed May 21, 2024
1 parent bc43b95 commit beefa06
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/content/blog/2024/04/25/react-19.md
Original file line number Diff line number Diff line change
Expand Up @@ -510,8 +510,7 @@ Due to the introduction of ref cleanup functions, returning anything else from a

The original code returned the instance of the `HTMLDivElement` and TypeScript wouldn't know if this was _supposed_ to be a cleanup function or if you didn't want to return a cleanup function.

You can codemod this pattern with [`no-implicit-ref-callback-return
`](https://github.com/eps1lon/types-react-codemod/#no-implicit-ref-callback-return).
You can codemod this pattern with [`no-implicit-ref-callback-return`](https://github.com/eps1lon/types-react-codemod/#no-implicit-ref-callback-return).

### `useDeferredValue` initial value {/*use-deferred-value-initial-value*/}

Expand Down

0 comments on commit beefa06

Please sign in to comment.