diff --git a/.changeset/thick-snakes-float.md b/.changeset/thick-snakes-float.md new file mode 100644 index 00000000..5ea3bfac --- /dev/null +++ b/.changeset/thick-snakes-float.md @@ -0,0 +1,15 @@ +--- +"types-react-codemod": minor +--- + +Add `no-implicit-ref-callback-return` transform + +Ensures you don't accidentally return anything from ref callbacks since the return value was always ignored. +With ref cleanups, this is no longer the case and flagged in types to avoid mistakes. + +```diff +-