FAQ

Frequently asked questions about Ably

How can I set up different environments in Ably?
Each Ably app acts as a sandboxed environment from one another, allowing you to treat each app as its own environment. For example, let's say you wante...
Tue, 26 Nov, 2019 at 10:41 AM
Is there a limit to the length of the ClientId or Channel name?
For clientId: there is no limit; however the clientId is counted as part of the size of the message and will contribute towards the total message size. ...
Thu, 11 Jun, 2020 at 12:13 PM
Is Ably part of the EU-U.S. Privacy Shield Framework?
On July 16, 2020, the Court of Justice of the European Union issued a judgment declaring as “invalid” the European Commission’s Decision (EU) 2016/1250 of 1...
Thu, 6 Aug, 2020 at 11:32 AM
I want to add Ably to my react app, where do I put the channel subscriptions?
There are multiple places you could handle your Ably channel subscriptions 1. In a component that reacts to Ably messages. 2. Somewhere globally in the...
Fri, 7 Aug, 2020 at 3:56 PM
Can I use Ably in a functional React component?
Yes! You can do all the things that you'd expect in a classical component in a functional component. Below is an example of a functional component ...
Fri, 7 Aug, 2020 at 3:51 PM
Can I use Ably with a state manager (eg Redux)?
You can create and manage the Ably client external to your application, and use a state management solution like Redux to emit events. While this is probabl...
Fri, 7 Aug, 2020 at 3:48 PM
My React app is opening multiple connections
There are a few obvious reasons that this might happen: You're using react classical components, and not unsubscribing in componentWillUnmount(). ...
Fri, 7 Aug, 2020 at 3:56 PM