by yellowapple · 9mo ago · 0 comments
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.Maybe nobody needs React, I’m not a fan. But a trivial stateless injection of DOM content is no argument at all.
<h1 title=foo>Hello</h1>
I have even less interest in touching any of your codebases! #!/usr/bin/env java --source 25
void main() {
IO.println("Hello, World!");
}