useState not re-rendering

前端 未结 0 710
野性不改
野性不改 2020-12-13 19:35

I have a component that doesn\'t re-render when the state variable changes and I don\'t understand why. Here is the code:-

export default function SalesItem(p         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题