How combine React and Jquery | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How combine React and Jquery

Can I add Jquery in this code? <script type="text/babel"> ReactDOM.render( <h1>Hello, React!</h1>, document.getElementById('container') ) </script>

20th Jul 2020, 10:22 PM
Juancho
Juancho - avatar
2 Answers
+ 3
Simple in window.onload method your are ready to use jquery In this code I have used jquery You need to Scroll down to bottom in that code you will see some jquery codes https://code.sololearn.com/Ww3qf3IY9OUB/?ref=app I think there are other methods too
20th Jul 2020, 11:36 PM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar
+ 1
Before add jQuery to react, here the advice you should read https://qr.ae/pNsYFN
21st Jul 2020, 1:52 AM
Calviղ
Calviղ - avatar