4 ms·
In the examples, `extendState` is used because the API returns only the updated props when updating. Your preference for only `setState` is definitely warrante
by loh 5y ago
In the examples, `extendState` is used because the API returns only the updated props when updating.
Your preference for only `setState` is definitely warranted. The source is available for this reason, and it's pretty compact. You can quickly remove the `extendState` portion if you want.
- deleted 5y ago[deleted]