There is no correct way to mix jquery with react. More about it, you can find here
Solution 1 :
Solution 2 :
No Option available to join jquery code with react. but you can render HTML page in React Component. for more detail Visit Here
Problem :
I am working on a project in react and I am trying to implement an interactive map.
But I have some problems while trying to implement it. I created a function that retrieves all the HTML of the map, the map is then displayed, but it doesn’t work. I think I am not loading the JS files of the map correctly.
<script src="./js/jquery-1.10.2.min.js"></script>
<script src="./js/jquery.maphighlight.min.js"></script>
<script src="./js/imageMapResizer.min.js"></script>
<script src="./js/scripts.js"></script>
I am doing it in this way in the return
of the component
Comments
Comment posted by imjared
If you have a specific problem, please post code here