Can someone explain in the most layman terms possible what unmountComponentAtNode' does?

后端 未结 0 825
清歌不尽
清歌不尽 2021-01-26 02:07

I have a test I\'m running on a React component:

describe(`TheDate Component`, () => {
  it(\'renders without crashing\', () => {
    const div = document.c         


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