- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 312
 
Closed
Description
Input file MyComp.js:
export class MyComp extends Component { render(){} }
export function myFun(foo) {
  return foo.bar().baz()
}
Running react-docgen MyComp.js hangs forever and causes CPU load to spike to 100%.
Without chained functions the issue does not appear: After changing to body of myFun to
export function myFun(foo) {
  return foo.bar.baz()
}
the file is processed without issues.
eisisig and ccblaisdell
Metadata
Metadata
Assignees
Labels
No labels