Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
karottenreibe
on May 4, 2021
|
parent
|
context
|
favorite
| on:
React best practices
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: