When block scoped variables caused the block to be wrapped in a closure, the variable `bindings` remained in parent function scope, which caused the JSX element to be hoisted out of the closure.
8 lines
119 B
JSON
8 lines
119 B
JSON
{
|
|
"plugins": [
|
|
"syntax-jsx",
|
|
"transform-es2015-block-scoping",
|
|
"transform-react-constant-elements"
|
|
]
|
|
}
|