(no title)
yellowapple | 8 days ago
const element = document.createElement("h1");
element.innerHTML = "Hello";
element.setAttribute("title", "foo");
const container = document.getElementById("root");
container.appendChild(element);
I now have even less interest in ever touching a React codebase, and will henceforth consider the usage of React a code smell at best.
htnthrow11220|8 days ago
Maybe nobody needs React, I’m not a fan. But a trivial stateless injection of DOM content is no argument at all.
Mogzol|8 days ago
madeofpalk|8 days ago
yellowapple|8 days ago
fragmede|8 days ago
oftenwrong|8 days ago
ZeWaka|8 days ago
llbbdd|8 days ago
lioeters|8 days ago