How to preserve value in react component even when the component updates and rerenders

前端 未结 0 1338
逝去的感伤
逝去的感伤 2020-12-03 00:17

I would like to preserve a value in a react component even when the component has been updated and rerendered. I usually store it in the parent component, but in this case t

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