3 ms·
You can access the raw DOM node from a React component. On component mount/unmount, you can apply a jQuery library to the DOM node and optionally clean it up.
by always_good 8y ago
You can access the raw DOM node from a React component.
On component mount/unmount, you can apply a jQuery library to the DOM node and optionally clean it up.
It's the same way you can wrap a <canvas> node with a React component and otherwise do all your draws outside of React (like for a game). This way the node is still integrated into your React app but React does nothing more than create/remove it.