Markcce Eros Markcce Eros - 7 days ago 6
Javascript Question

Javascript ES6 project and jQuery

I have been asked to work on a project and to use ES6 when coding the javascript on the project.

The project also needs to use reactjs.

I've been searching for the answer to the following question on google be I haven't been able for get it answered so I hope I am allowed to ask this question here.

My question is ... If I need to use ES6 and reactJs on this project, does that mean that I cannot use jQuery?

Answer

You can use Jquery along with React and ES6. At the end of the day, it's all Javascript. However, if you structure your code correctly with React components, you should not need to use Jquery selectors to make any changes to the DOM.