Closed libovness closed 2 years ago
Did you figure this out? Are you calling the hook from inside a function component?
Let me rephrase - Are you using this component inside a function component or in a class component? I built this using React hooks and function components so not sure how well it performs using the alternative.
Please reopen if the issue persists.
Sorry for not following up and yes I did fix though now I can't remember how. Here's what we built with it: https://www.explainitlike.com/
As an aside one thing that would be helpful is an event for when something doesn't load. In our case we have teachers using it and TikTok will often be blocked so we'd love to have a placeholder whenever something doesn't load.
@libovness Glad you got it working. I opened a feature request issue for that, great suggestion. I'll take a look into that next time I do maintenance on the project
This lib is just what I'm looking for but I'm running into this issue:
This is a Next app running React 18 on Node v16.14.2