Skip to content

Instantly share code, notes, and snippets.

@rubeniskov
Last active February 28, 2022 09:16
Show Gist options
  • Save rubeniskov/5cbb8836adfb2abb162c3acd4d782368 to your computer and use it in GitHub Desktop.
Save rubeniskov/5cbb8836adfb2abb162c3acd4d782368 to your computer and use it in GitHub Desktop.
find_forwarded_components_without_ref.sh
find ./**/src/**/*.tsx -type f -exec grep -l "forwardRef" {} \; | xargs -I{} grep -L "ref=" {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment