mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Skip functions using same rules as regular pipeline
This commit is contained in:
@@ -361,7 +361,7 @@ export function compileProgram(
|
||||
}
|
||||
}
|
||||
|
||||
function shouldVisitNode(fn: BabelFn, pass: CompilerPass): boolean {
|
||||
export function shouldVisitNode(fn: BabelFn, pass: CompilerPass): boolean {
|
||||
if (hasUseMemoCacheCall(fn)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user