https://griddle-reviews.blogspot.com/2022/08/react-component-render-called-twice.html
React Component Render Called Twice Without Changing State