chore: Update eslint plugin react hooks followup (#9054)
* 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
* turn on and fix static-components
* turn on and fix set-state-in-effect
* turn on and fix purity
* fix lower react version tests
* turn on globals and fix errors
* move event listener attachment to an effect
* convert remaining useElementTypes
* fix read from ref in render