anycable-client
anycable-client copied to clipboard
AnyCable / Action Cable JavaScript client for web, Node.js & React Native
Hi Vova, I experienced a number of type errors when I imported the @anycable/web package into my codebase, but didn't notice the errors when I pulled down anycable-client and ran...
Jest
Hi! I have included `@anycable/web` (lastest version) and running Jest I am getting: ```ts Details: /Users/dani/code/project/node_modules/@anycable/web/index.js:1 ({"Object.":function(module,exports,require,__dirname,__filename,jest){import { ^^^^^^ SyntaxError: Cannot use import statement outside a module 7 | useState,...
This is causing type errors in our project when trying to use anycable. I think you need to import all of the imports from `@anycable/core`, not export them. ```ts import...
Currently, this javascript client is for browser & react native mobile apps. Is there any plans to support flutter/dart?
So this deviates from the ActionCable JS client a where it returns a boolean: https://github.com/rails/rails/blob/242216803ee73f528b0a74c6bdb367e5b98d8f83/actioncable/app/assets/javascripts/action_cable.js#L318 Long trace of ActionCable.Subscriptions -> ActionCable.Consumer: https://github.com/rails/rails/blob/242216803ee73f528b0a74c6bdb367e5b98d8f83/actioncable/app/assets/javascripts/action_cable.js#L140 But for our purposes, we noticed sometimes AnyCable's...
Hi there... Is there any best practice for use with Strict Mode? I am working on a chat application and I am receiving messages twice. If I try to do...
### Use case When building a native app with log-in screen we may create the cable connection early, e.g. as part of GraphQL subscription initialization. This connection may then either...