Relative Content

Tag Archive for javascriptreactjsreact-hookshookrender

Why I can not stop aditional renders with useMemo()?

I have a function based component. I fetch data on redux toolkit with useAppSelector() but as a result I wrote ine clg within component to check what happens. When page renders again still clg renders again and again. My code like this