Nikita Yutanov
Nikita Yutanov
Ran into the same problem, with the difference that I'm using bare `watchContractEvent` action (and only it, there are no another watch functions or hooks). In my case feels like...
@neocybereth I've changed my RPC provider and it seems to have fixed the problem.
Good solution so far, but I think the task is a little bit more complicated than it seems - I guess we need some generic solution, rather than implementing it...
Here's the improved version of the above solution by @mogzol, without the need for an additional `div` wrapper. Drawbacks: - Custom components should accept and pass `ref` as a prop...