chore: Update eslint plugin react hooks (#9012)
* chore: update eslint plugin react hooks
* fix all lint errors
* Add lines for other config items
* Revert "fix all lint errors"
This reverts commit 7b9641413c49717246bd6f664763cde4a4ecd8c2.
* fix all rules of hooks and exhaustive dependencies
* enable all rules we are already passing
* fix event order and cleanup
* fix lint
* move event listener attachment to an effect