how to trigger an event after component did mount with react hooks

前端 未结 0 726
眼角桃花
眼角桃花 2021-01-16 07:44

When a user clicks a button, a component is supposed to be mounted, once the component is mounted, window.print() is supposed to be run and then the component i

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