Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
the_gipsy
on March 23, 2023
|
parent
|
context
|
favorite
| on:
You might not need an effect
Yes, but that is The Elm Architecture. React's docs guide you towards using react-query and react-router, making everything lifecycle bound and the renders impure.
https://react.dev/reference/react/useEffect#what-are-good-al...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://react.dev/reference/react/useEffect#what-are-good-al...