Open maccali opened 4 months ago
Looks good (or I couldn't easily spot anything wrong). But are you sure subscribeRelay
is getting called? The two useEffect
calls seem to be racy. Maybe merge subscribeRelay
into connectRelay
and make them sequential.
I solve the problem, thx, one more little question. Is pool.subscribeMany a function which observe the topics when the topics get inside?, or for this we need to use other thing?
I does'n get nothing on subscribe when a publish my message, is something wrong on publish?