React Import/Export General Question: Why can we omit the current directory symbol when importing the react modules, but not our own modules?

Why is this allowable:

import React from 'react';

when my intuition would lead me to believe that the file location should be mentioned i.g.

import React from './react';

Is there a special reason for this? Where exactly is the react module located anyway?

One presumes that the reason you don’t have to specify a path when importing native React modules, is because React already knows where they are. Any additional code which you write, to tie in to your React app, could be anywhere (within reason) - so you have to tell React specifically where to look for it.

(Presumably, the core functionality of React is in a specific centralised directory and it either uses or implements its own version of a PATH variable to keep track of it.)