This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
The definitive answer: only for error boundaries. All other use cases should use hooks.
You've completed the free preview. Subscribe to unlock every lesson in every course.