Nicolò Ribaudo
8dacf85859
Lazily initialize and cache constant JSX elements ( #12967 )
...
Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
2021-03-06 17:33:43 +01:00
Nicolò Ribaudo
ea6a438315
Enable external-helpers by default in tests ( #12911 )
...
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
2021-02-26 23:33:26 +01:00
Nicolò Ribaudo
d21e2217d5
Skip newlines around inline #__PURE__ annotations ( #11133 )
...
* Skip newlines around #__PURE__ annotations
* Update tests
2020-02-13 19:16:33 +01:00
Serge Havas
a112be2fa0
[fix] jsx helper calls order ( #10307 )
...
imitate properly react createElement calls order
2019-08-08 22:43:57 +02:00
Artem Butusov
5b86353b35
Added es3 backward compatibility for react helper code ( #10155 )
...
* Added es3 backward compatibility for react helper code
* tweak comment [skip ci]
2019-07-03 16:49:20 +02:00
Mateusz Burzyński
d283324f8a
Mark hoisted react constant elements as #__PURE__ ( #7372 )
2018-02-21 18:58:56 +01:00
Jorrit Schippers
3c8d831fe4
Prevent object shape change in jsx helper ( #7170 )
...
Keeping the shape of an object constant is a performance improvement for modern javascript engines. At the point of the code change it is certain that the `children` property will be set later, so the property can already be set to `undefined`.
2018-01-15 16:37:57 +01:00
Raja Sekar
0f42accb87
Renamed files
2018-01-09 15:36:42 +01:00