https://www.somethingsblog.com/2024/10/20/boost-your-app-with-custom-react-hooks-mutationobserver/