I'm new to react native and found two include statements with somewhat same functionalities; require() and import.
What are the main purpose of using these two include module statements and their best practices?
currently, i'm using import on top of the .js file and using require() in any function where i need that module. Is this the correct way to do so??