Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition which is inside StrictMode

前端 未结 6 1025
一个人的身影
一个人的身影 2020-12-17 08:44

I am trying to use a function as a prop inside a component and this component is a child of another component. But the function is not working.? Can I know why. This is the

6条回答
  •  暖寄归人
    2020-12-17 09:03

    Issue: In your implementation, it is coming up from somewhere like below :

    mount = createMount({strict: true});
    

    Fix: It should be as below:

    mount = createMount(); // by default, it is false
    

    Check on it, that the mount is done properly.

提交回复
热议问题