Answer: A is the correct answer as ReactDOM. destroy() method is not a part of ReactDOM . ReactDOM provides the developers with an API containing the methods such as render(), findDOMNode(), unmountComponentAtNode(), hydrate(), and createPortal().
Answer: A is the correct answer as ReactDOM. destroy() method is not a part of ReactDOM . ReactDOM provides the developers with an API containing the methods such as render(), findDOMNode(), unmountComponentAtNode(), hydrate(), and createPortal().