Justin Ridgewell 28ae47a174 Stop mutating nodes (#5963)
* Stop mutating nodes

* Update tests

* linting
2017-07-18 13:24:07 -04:00

3 lines
104 B
JavaScript

React.createElement("button", {
"data-value": "a value\n with\nnewlines\n and spaces"
}, "Button");