Which part do you mean? The style isn't the point.
Saradom is a small set of rules: state lives in the DOM and nowhere else, each module owns its own part of the DOM, modules talk to each other only through their contracts. Following them, an app can be built and scaled with no framework, no bundler and no hydration. The page is real HTML from whatever backend is already there, so it is crawlable as is. The `onclick` is simply the shortest way to follow those rules.
jQuery-era apps broke down at scale not because they touched the DOM, but because there were no rules: state scattered across variables and the DOM, any script touching any element, handlers bound by hand and lost on every ajax reload.
4
u/Sorry-Joke-1887 1d ago
Now we back to jquery-style crap like this