Check out example codes for "how to import jquery modular". It will help you in understanding the concepts better.

Code Example 1

<head>
 <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</head>

Code Example 2

<script type="module">
	import $ from "./jquery/src/jquery.js";
	$('#message').text('Hi from jQuery!');
</script>

Learn ReactJs, React Native from akashmittal.com