mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* 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]>
1 line
55 B
JavaScript
1 line
55 B
JavaScript
<div key={console.log('foo'), JSON.stringify(props)} /> |