UNPKG
react-codemod
Version:
latest (5.4.4)
5.4.4
5.4.3
5.4.2
5.4.1
5.4.0
5.3.0
5.2.2
5.2.1
5.2.0
5.1.1
5.1.0
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
4.0.1
4.0.0
2.0.0
1.0.0
React codemod scripts
github.com/reactjs/react-codemod
reactjs/react-codemod
react-codemod
/
transforms
/
__testfixtures__
/
React-DOM-to-react-dom-factories
/
react-dom-no-change-local-dom-from-other-libraries.input.js
7 lines
(4 loc)
•
107 B
JavaScript
View Raw
1
2
3
4
5
6
7
DOM
=
'this is a test!'
; foo.
DOM
= {}; foo.
DOM
.
div
=
() =>
null
;
const
bar = foo.
DOM
.
div
(
'a'
,
'b'
,
'c'
);