4 ms·
Is it common to use jQuery with React? I'm relatively new to React.
by rhcom2 7y ago
Is it common to use jQuery with React? I'm relatively new to React.
- baddox 7y agoI don't think it's common to start a new project with both jQuery and React, or actively develop jQuery and React modules in the same project, but it is probably quite common for projects that initially used jQuery to gradually move modules to React.
- vcoelho 7y agoNot recommended, but they are compatible. The important is to achieve your goal with whichever tools you currently have.
- hpen 7y agoYes it’s common and you can use it. Of course there is also the fetch api. If it’s a startup project just use whatever your most familiar with and change it when/ if it becomes a problem.
- pluma 7y agoIt's possible. It's not something you normally intend to do in a new project but it's possible to use jQuery and other libraries inside React and it's handy when working with legacy code.