5 ms·
Thanks; I've got pretty much similar projects. What I was looking for was literally a "You Might Not Need React" equivalent to the https://youmightnotneedjquer
by lelanthran 2y ago
Thanks; I've got pretty much similar projects.
What I was looking for was literally a "You Might Not Need React" equivalent to the https://youmightnotneedjquery.com/ https://youmightnotneedjquery.com/ site.
It doesn't need to be as polished as that, I just want to see <this is what react lets you do>:<this is how you'd do it without react>, even if all the "this"es in there were just patterns.
I just want to be clear here, I'm not engaging in bad faith, or trying to prove something. I truly just want to know what react code is commonly used for, and what a vanilla solution would look like.
- kristopolous 2y agoIt's hard because it's conceptually and fundamentally different. Like what about useEffect? There's many many terse ways to implement this that in practice do the same things but in a slightly, arguably inconsequentially different kind of way. I'm sure there's a large legion of pedants out there who would have a field day slapping their suspenders against their chests nitpicking how "not exactly!" the alternatives are. If we can somehow avoid that trolly bullshit then I'm game.