Top "React-dom" questions

React package for working with the DOM.

npm ERR! tarball.destroy is not a function

Hi I'm having issue while installing react-dom module. I'm able install other modules like react express modules, on windows 10. 64 bit …

node.js reactjs windows-10 npm-install react-dom
ReactJs this.props.router undefined

Hello I am learning React js and I have came across a problem. When I try to change back to …

javascript reactjs react-router react-dom
How to render a React component (ES6 API) directly using ReactDOM?

I'm using the ES6 classes API of React (by using TypeScript) and want to render a subtyped class of type …

reactjs typescript ecmascript-6 react-dom
scrollIntoView using React refs

We are trying to scroll to a specific component when the user closes another component. Our example is very similar …

javascript reactjs dom ref react-dom
enzyme not simulating change event on React Material-UI v1 - Select component

So I started with unit testing React components composed of Material-UI components using Jest and Enzyme setup. So far every …

reactjs material-ui enzyme jestjs react-dom
`requestAnimationFrame` polyfill error in Jest tests

Got this error after upgrading to React when I ran my Jest unit tests: React depends on requestAnimationFrame. Make sure …

reactjs jestjs react-dom
Is it necessary to call `unmountComponentAtNode` if the component's container is removed?

I render a React component SettingsTab within a wrapper called TeamView. Its API looks something like class TeamView { constructor() { this.…

reactjs react-dom
Redirect to error page ReactJS and react-router

I'm trying to send the user to a generic error page when the App breaks, thing is I'm trying with …

javascript reactjs ecmascript-6 react-router react-dom
TypeScript and ReactDOM.render method doesn't accept component

TL;DR I'm using TypeScript and React. I've defined my AppContainer.tsx component, exported it as default. I'm consuming this …

reactjs typescript typescript-typings react-dom tsx
Next.JS implement external ".js" with <script>

Im Building a website with Next.Js and I tried to implement an external .js file (Bootstrap.min.js & …

javascript html reactjs next.js react-dom