I am trying to use the react-explode library in my react app (made with yarn create-react-app). Any use of the library causes my application to fail at runtime, with the following error: Uncaught Error: Invalid hook call in the console.
This happens even in the simplest case, with the following index.js file:
import React from 'react';
import ReactDOM from 'react-dom';
import Siargao from "react-explode/Siargao";
ReactDOM.render(
<Siargao />,
document.getElementById('root')
);
