๐ซ How to reach me:
- Twitter: @guilbertpaul
React hooks for SignalR.
License: Apache License 2.0
๐ซ How to reach me:
Hello,
The error message is not set when we have errors on reconnect and close connection.
We should set the error message.
We need to set it in the Hub.ts
Library has a peer dependency on react 16/17 and doesn't work with react 18. Need to update those.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @microsoft/[email protected]
npm ERR! node_modules/@microsoft/signalr
npm ERR! @microsoft/signalr@"^7.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @microsoft/signalr@"^6.0.1" from [email protected]
npm ERR! node_modules/react-use-signalr
npm ERR! react-use-signalr@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
Hi, thanks for nice hook.
How to manual reconnect when hub connection is totally disconnected and internal reconnect has not try?
Hi,
I'm testing your library, but noticed it is dependant on React version ^17.0.1 according to your package.json.
Is that correct? React hooks are available since React version 16.8.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.