4 ms·
React Testing Library and other testing libraries from Kent are a godsend. But Kent is doing a disservice to people that look up to him with this blog post. Th
by dzonga 5y ago
React Testing Library and other testing libraries from Kent are a godsend.
But Kent is doing a disservice to people that look up to him with this blog post. The JS community already suffers from over-engineering and this is just one latest example from a community leader. now every developer who learns from Kent, will think this is the way to go.
not only does it harm newbie developers, it also harms the companies mostly startup thinking this is the way to go. interviews, workflows etc start to be centred around this way of thinking and simply all productivity gains that made startups more nimble than enterprises are lost.
maybe some of us are too stupid, to see the gains from all this architecture and wizardry, time will tell!!
- joshribakoff 5y agoEverything RTL does was possible in Enzyme too. It would have been possible for him to make PRs to remove problematic parts of Enzyme, or create a wrapper strictly over it, if he was optimizing for the things you said
- eatonphil 5y agoI've used Enzyme for years. I do have to write some small utility wrappers around but I don't overall have many issues with it. I'm curious what the real/perceived issues are by others.
- PragmaticPulp 5y ago> But Kent is doing a disservice to people that look up to him with this blog post. The JS community already suffers from over-engineering and this is just one latest example from a community leader. now every developer who learns from Kent, will think this is the way to go. With all due respect to the author and the great output he's created, I agree. At minimum, I think the post should have included some context for the decisions instead of simply calling it "a modern website in 2021". The content inside isn't common, normal, or even necessary for 99% of websites, including this one. I think this blog post is an example of the conflict between educators and industry: Industry benefits from keeping things straightforward and getting the job done without unnecessary complexity. Educators benefit by selling more workshops and more training materials. The more they can convince everyone that complexity is necessary, the more they can sell workshops to teach people about that complexity.