We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2b5a8d commit 69d8070Copy full SHA for 69d8070
1 file changed
src/babel/core/transform-jsx.ts
@@ -213,7 +213,6 @@ function extractJSXExpressionsFromJSXElement(
213
closingElement.get('name').replaceWith(replacement);
214
}
215
216
- extractJSXExpressionsFromAttributes(state, path);
217
218
219
function extractJSXExpressionsFromJSXExpressionContainer(
@@ -240,6 +239,7 @@ function extractJSXExpressions(
240
239
): void {
241
if (isPathValid(path, t.isJSXElement)) {
242
extractJSXExpressionsFromJSXElement(state, path);
+ extractJSXExpressionsFromAttributes(state, path);
243
244
const children = path.get('children');
245
for (let i = 0, len = children.length; i < len; i++) {
0 commit comments