palkan
Joined 10 years ago
Joined 10 years ago
v1.5 comes with new features allowing you to use AnyCable in a standalone mode with any (or none) backend: – pub/sub streams: public and signed; – whispering: publish broadcasts from clients, w/o touching backend; useful for typing indicators, cursors, and other frontend-only features.
Check out our new demos:
1. Next.js demo w/ public streams and whispers: https://stackblitz.com/edit/anycable-pubsub 2. Rails demo using signed streams instead of channels (and whispers, too): https://github.com/anycable/anycable_rails_demo/pull/34
- Install dependencies from RubyGems on-the-fly and cache them in your browser - Make web requests from Ruby via Faraday JS adapter
Full-featured in-browser Ruby apps are getting real!
Note that it requires using Compose v2.4, not 3.x.