You need to find all files recursively in the project folder "js" with this pattern inside file code: "memo(_" (not regexp, strict comparison) and for each file run separate subtack with following instructions:
You need to refactor the component declaration and move the "memo" decorator to the original component, removing extra "_Component" variable. For components with TypeScript generics use import { memoGeneric } from '@/js/libs/memo';
Examples:
// FROM const _Table = (props: T) =>
// FROM const Field = () =>
// FROM const Article: React.FC = () =>
And so on.
Just do this one job, no any extra refactorings, no any other changes to the code. You need to preserve all other types, generics, arguments, comments, etc. Ignore type errors! If you not sure about the refactoring because of some corner cases, just skip it.
Task should be done quickly and efficient, so do not output any logs, comments, etc, just work with the code. After the end, reply just a single status "done" / "skipped" / "error".