« first day (2222 days earlier)      last day (1895 days later) » 

 
8 hours later…
21:44
If I have no choice but to append a document element into react, would this be my best option?
```
function BadIdea(){
let element = document.createElement("p");
element.appendChild( document.createTextNode("bad idea!") )

return <div ref={r=> r.appendChild(element)} />;
};
```
1 message moved from JavaScript
If I have no choice but to append a document element into a react element, would this be my best option?

function BadIdea(){
let element = document.createElement("p");
element.appendChild( document.createTextNode("bad idea!") )

return <div ref={r=> r.appendChild(element)} />;
};
1 message moved from JavaScript
 
2 hours later…

« first day (2222 days earlier)      last day (1895 days later) »