Hi there...
Is there any best practice for use with Strict Mode? I am working on a chat application and I am receiving messages twice. If I try to do this:
useEffect(() => {
...
return () => {
cable.unsubscribe(channel);
};
});
I get errors that the channel is unsubscribed.
Any ideas? Thanks!