known-as-bmf

Results 9 comments of known-as-bmf

Using the minified version as `main` renders the lib practically un-debuggable in a dev env. As a workaround, you can manually edit `node_modules/oidc-client/package.json`, but you'll have to do it every...

I published a beta version that should resolve this issue. Please check it out: version `1.0.7-beta.0`. `npm i @known-as-bmf/[email protected]`

Thanks for your feedback, I will look into it when I have the time.

I fiddled around with this and faced some issues with the HubConnection API. There is no way to subscribe/react to state change at the moment so I had to work...

Thinking about it, it may be possible for the hook to return an `Observable` (`ReplaySubject` ?) emitting the state ? ```ts const { state$ } = useSignalr(/* ... */); ```...

I created a new branch https://github.com/known-as-bmf/react-signalr/tree/feature/connection_state_stream where I will try to implement this. I don't really like what the consuming code will look like tho ```ts useEffect(() => { const...

I published beta version of the package with the `state` returned by the hook. It also includes #9 #10 If someone could test/experiment with it, I would be very grateful....