react-context-pusher icon indicating copy to clipboard operation
react-context-pusher copied to clipboard

Authenticating Users

Open maharjanaman opened this issue 3 years ago • 0 comments

Thanks for an awesome example. I'm new to react hooks and can't figure out how to authenticate users for private channels with the current implementation. A new pusher object is created outside the functional component and I'm unable to access the auth token from the redux state to pass in during the authentication process. I went with using useRef, but are there any other better ways?

maharjanaman avatar Oct 14 '20 15:10 maharjanaman