Files
c8e9883cbb [babel 8] Disallow sequence expressions in JSX expression containers (#12447)
* jsx: fix sequence expression at JSXAttributeValue (#8787)

* jsx: fix sequence expression at JSXAttributeValue

* Change logic for detecting unparenthesized expressions

* use parseMaybeAssign instead of custom error handling

Co-authored-by: Daniel Tschinder <[email protected]>
Co-authored-by: Nicolò Ribaudo <[email protected]>

* I'm not good at booleans

* Format

* Throw a recoverable error

Co-authored-by: Bruno Macabeus <[email protected]>
Co-authored-by: Daniel Tschinder <[email protected]>
2020-12-08 10:15:03 +01:00

1 line
55 B
JavaScript

<div key={console.log('foo'), JSON.stringify(props)} />