3 ms·
It all depends on how the component is written. And the function. The function could access global variables for example. The component could be pure and not us
by karottenreibe 5y ago
It all depends on how the component is written. And the function. The function could access global variables for example. The component could be pure and not use context. Neither of which you can tell just by looking at the import statement.