3

In React-based project, "why can't we use jQuery?"

As if my disdain for jQuery as a crutch couldn't get any worse...

Comments
  • 1
    Happens a lot when newcomers are in my team. Had to explain to them why doing it the react way can be much faster and more efficient.
  • 0
    @phoomparin it's not just faster, using jQuery with React can break applications. React doesn't want you touching its DOM, it breaks the references they use.
  • 0
    @Neotelos I've learned that the hard way when I started, trust me. Most hacks that are often suggested involves handling the component update cycle manually, so that it would prevent React from interfering, but that's not worth the effort. Besides, why would you want to use jQuery plugins in the first place while React and plain old CSS can obviously do everything that jQuery can..
Add Comment