Refactor Names in React useState Hooks
Rename both values of from useState hooks at once
Invoke the Rename refactoring, ⇧F6 (macOS) / Shift+F6 (Windows/Linux) and the IDE will detect automatically when it's invoked on a useState hook in a React application and offer to rename all names associated with them.