mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[playground] Only collect first level of function declarations
#1433 means that Forget now will compile nested function declarations, so we no longer need to compile these separately
This commit is contained in:
@@ -57,6 +57,7 @@ function parseFunctions(
|
||||
FunctionDeclaration: {
|
||||
enter(nodePath) {
|
||||
items.push(nodePath);
|
||||
nodePath.skip();
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user