NextJS clock component in NavBar doesnt keep state

后端 未结 0 595
有刺的猬
有刺的猬 2021-02-13 09:26

Hello im trying to learn React / NextJs. I have a clock in the navbar which should keep the state. I want the clock to update every 10 seconds (which works). The problem is when

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