React bug
by bilgehansolo
HTML
<div id="app"></div>
React
function App() {
const body = `a
b
c
d`;
return <textarea>{body}</textarea>;
}
ReactDOM.render(<App />, document.querySelector("#app"))
by bilgehansolo
<div id="app"></div>
function App() {
const body = `a
b
c
d`;
return <textarea>{body}</textarea>;
}
ReactDOM.render(<App />, document.querySelector("#app"))