Why in JS,
React handles importing like this
import SomeThing from '../../components/SomeComponent/SomeThing';
while
Node handles importing like this
const someThing = require('../someWhere/someThing');
Is it purely a convention?
If so, are they exchangeable?
If not, why is it important to be done so?
Is there any difference between them behind the scene, e.g. performance?