Accessing props in ComponentWillUnmount using react hooks

后端 未结 0 1680
时光说笑
时光说笑 2021-01-31 12:26

I am implementing an attachment component and trying to be a good citizen by calling URL.revokeObjectURL() when my component is unmounted to cleanup the local blob resources.

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