Hooks, Effects & Closures — Question 7
Key Takeaways
Explain the underlying React mental model.
Connect the answer to a production scenario.
Knowledge Check
When should state be preferred over a ref?
Explain the underlying React mental model.
Connect the answer to a production scenario.
When should state be preferred over a ref?