79549983

Date: 2025-04-02 07:45:37
Score: 3
Natty:
Report link

Please provide more details.

I think the sidebarContent is a ref from useRef. The ref shouldn't be used as deps of useEffect. I will always be the same reference and the react won't rerender. Please try to use useState

Reasons:
  • RegEx Blacklisted phrase (2.5): Please provide
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hao-Jung Hsieh