Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow setState to take a partial state
React will shallow merge the provided object into the existing state¹ which works for our usage. The type definition of setState does not allow partial state by default. Use 'never' to configure it to expect no fields in particular². ¹ <https://react.dev/reference/react/Component#setstate-parameters> ² <https://stackoverflow.com/a/55824499>
- Loading branch information