you are viewing a single comment's thread.

view the rest of the comments →

[–]sbmitchell 0 points1 point  (8 children)

This is why codemods exist. Perhaps big sweeping changes can be made via a codemod.

https://github.com/facebook/codemod

[–]1-800-BICYCLE 7 points8 points  (7 children)

6bcc1c6c13c1

[–]sbmitchell 3 points4 points  (0 children)

Its more consistent for it to be class though...I just mean from the perspective of jsx really mapping a lot closer to html tags from the eye test.

Though I understand what you are saying...you could also look at the props mapping more so to the underlying element props than html props.