I made a hook inspired by GraphQL in the format const { data, loading, error } = useSubscription(url) and it also shares the same websocket if it's already open and retries (exponential back off) if the connection closes abnormally.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I made a hook inspired by GraphQL in the format
const { data, loading, error } = useSubscription(url)
and it also shares the same websocket if it's already open and retries (exponential back off) if the connection closes abnormally.