Comments (2)
I've pushed an update which checks whether the channel is still attached before leaving presence on component unmount, this should stop this error from occurring. Please check out the most recent version to verify.
from react-hooks.
Thanks. I think it works now.
from react-hooks.
Related Issues (20)
- FEATURE: A way to force refresh the token, or clear the existing instance / client HOT 3
- Get which client is you in `usePresence` HOT 1
- Get the current message in `usePresence` HOT 3
- `usePresence`: `updateStatus` changes every render HOT 1
- `usePresence` hook fails to get initial snapshot when capability is only subscribe HOT 1
- useChannel hook with `ChannelOptions` throws error when component re-renders HOT 1
- How to add `jwt` / `session` auth to `configureAbly` request? HOT 2
- usePresence throws error if Ably is not configured HOT 9
- Consider replacing `configureAbly` with a context provider HOT 1
- Add hook for listening to channel state HOT 1
- Reconsider error handling strategy HOT 1
- Improve test coverage HOT 1
- Add hook for listening to connection state HOT 1
- Use `ably-js` as peer dependency HOT 2
- Reduce number of packed files HOT 1
- Consider supporting React 16.8+ HOT 1
- Improve ESLint Configuration for Enhanced Linting HOT 1
- Add `skip` parameter for `useChannel` hook HOT 1
- `AblyProvider` doesn't work with options parameter in `integration/v3` HOT 1
- Receive last message and history HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-hooks.