You Might Not Need an Effect
Challenge 4: Submit a form without Effects
Updating state based on props or state
Caching expensive calculations
Resetting all state when a prop changes
Adjusting some state when a prop changes
Sharing logic between event handlers
Sending a POST request
Chains of computations
Initializing the application
Notifying parent components about state changes
Passing data to the parent
Subscribing to an external store
Fetching data
Challenge 1: Transform data without Effects
Challenge 2: Cache a calculation without Effects
Challenge 3: Reset state without Effects
Challenge 4: Submit a form without Effects
Thanks for using our services!
Open chat