Hacker News new | ask | show | jobs
by throwawayReply 3543 days ago
This misses the point.

It's about the unit test.

jQuery is easy to develop with but difficult to unit test.

React is slow to develop with but easier to unit test.

For small projects, jQuery is better.

For large projects where the all the persons writing it tomorrow might not be here today, pick the testable one so they have a chance of future refactoring.

1 comments

Unit tests is not the primary way to choose one frontend framework or another. It's one aspect to look at but i don't think this boils down to unit tests at all.