makeStyles.js:156 Uncaught TypeError: Cannot read properties of undefined (reading 'refs')
estoylive opened this issue · comments
estoylive commented
not sure what's going on here
Josh Bedo commented
having the same issue
Dercilio Fontes commented
I see that it happens with <React.StrictMode>
. I'm trying to see if there is a workaround to avoid the error.
Dercilio Fontes commented
markmaci commented
I was able to circumvent this by turning off strict mode. Not sure how sound of a solution this is but it works for now.
Dercilio Fontes commented
It depends on a deprecated library.
"dependencies": { "@material-ui/styles": "^4.11.5", "lodash": "^4.17.21" },
I sent a PR to update the libraries (#7)
Dercilio Fontes commented
I didn't get any feedback about the PR sent. So, I created a forked package with the updates, https://www.npmjs.com/package/confetti-explosion-react.
Ethan Herr commented
Thanks all! Closing this as we're now using react-jss
for styles. The latest changes here.