in ReactJS by (6.2k points)

React DOM

1 Answer

0 votes
by (6.2k points)

The react-dom package provides DOM-specific methods that can be used at the top level of your app and as an escape hatch to get outside of the React model if you need to. Most of your components should not need to use this module.

render()

hydrate()

unmountComponentAtNode()

findDOMNode()

createPortal()


  •  

Related questions

0 votes
asked Dec 8, 2020 in ReactJS by SakshiSharma (32.2k points)
0 votes
asked Dec 14, 2019 in ReactJS by AdilsonLima (6.2k points)
0 votes
asked Dec 14, 2019 in ReactJS by AdilsonLima (6.2k points)
...