I'm using linting my reactjs code with babel and am running into this strangely tough to track down issue:
"Parsing Error: Complex binding patterns require an initialization value"
For this line of my react code:
var {children={}, Activator={}} = this.props
Does anyone know what this means or how to make it go away?
Thanks very much.
The last time I encountered this issue, it was due to some improper destructuring syntax. Your issue might be related to a difficulty in parsing the destructuring in your variable assignment.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With