* Inject `__source` and `__self` in JSX elements earlier
This fixes an issue where `this` was not correct inside arrow functions, similar to
906f8be24d
* Add test
* Remove try-catch
* Update error
* Update fixtures
* Update windows fixtures
11 lines
152 B
JavaScript
11 lines
152 B
JavaScript
var x = (
|
|
<>
|
|
<div>
|
|
<div key="1" />
|
|
<div key="2" meow="wolf" />
|
|
<div key="3" />
|
|
<div {...props} key="4" />
|
|
</div>
|
|
</>
|
|
);
|