0 votes
in ReactJS by
What is the use of react-dom package?

1 Answer

0 votes
by

The react-dom package provides DOM-specific methods that can be used at the top level of your app. Most of the components are not required to use this module. Some of the methods of this package are:

  • render()
  • hydrate()
  • unmountComponentAtNode()
  • findDOMNode()
  • createPortal()

Related questions

0 votes
asked Dec 8, 2020 in ReactJS by SakshiSharma
0 votes
asked Feb 24, 2021 in ReactJS by SakshiSharma
...