Nicolò Ribaudo
02fc9e835c
Revert "add .js extension to react runtime for JSX transform" ( #12213 )
2020-10-19 19:50:43 +02:00
Luna Ruan
9808d2566e
add js extension to react runtime ( #12116 )
2020-09-30 08:31:45 +02:00
Nicolò Ribaudo
11292a3c74
Use the correct this in __self for JSX elements in arrows ( #11288 )
...
* 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
2020-03-19 20:01:17 +01:00
Luna Ruan
748897be07
Add experimental version of the `babel-plugin-transform-react-… ( #11154 )
...
* add next option for babel-plugin-transform-react-jsx
* address review comments
* chore: update test fixtures
* Update fixture
* Add "columnNumber" to the new React transform
* Update windows fixtures
* Delete unused output.js
* Update windows tests
* Fix windows again
* fix comments
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
Co-authored-by: Moti Zilberman <motiz88@gmail.com>
2020-03-17 09:16:53 +01:00