The issue is, the shadow DOM is not created until the first render. So I can't bind goober till after the first render. I think this creates a problem, because I can only use all the goober functions after the first render.
This is particularly problematic, because I'm consuming a library (https://github.com/timolins/react-hot-toast) that uses goober, and I need it to use the bound functions. Is there a good workaround here?
I have a situation where I create a React component that has a shadow DOM inside using (https://github.com/Wildhoney/ReactShadow):
The issue is, the shadow DOM is not created until the first render. So I can't bind goober till after the first render. I think this creates a problem, because I can only use all the goober functions after the first render.
This is particularly problematic, because I'm consuming a library (https://github.com/timolins/react-hot-toast) that uses goober, and I need it to use the bound functions. Is there a good workaround here?