Skip to content

Using AnyCable JS client#21

Draft
palkan wants to merge 1 commit intomasterfrom
demo/anycable-client
Draft

Using AnyCable JS client#21
palkan wants to merge 1 commit intomasterfrom
demo/anycable-client

Conversation

@palkan
Copy link
Copy Markdown
Member

@palkan palkan commented Jul 23, 2021

Description

This PR demonstrates the usage if the @anycable/web JS library to communicate with the server. Read more.

Changes

  • Migrated from @rails/actioncable to @anycable/web
  • IMPORTANT Updated Babel/Browserlist configuration to support only modern browsers with ES6

Development notes

This PR also adds an ability to mount the source code of the anycable-client within a Docker env to make it possible to link it and use a local version.

For that, create a dip.override.yml file in the project's root with the following contents:

environment:
  ANYCABLE_CLIENT_PATH: "../anycable-client" # this should be the relative path to the source code

@palkan palkan added the demo Demo branch PR label Jul 23, 2021
@palkan palkan force-pushed the demo/anycable-client branch 2 times, most recently from a1de484 to 72c301d Compare July 24, 2021 07:07
@palkan palkan mentioned this pull request Sep 23, 2021
4 tasks
@palkan palkan force-pushed the demo/anycable-client branch from 72c301d to 5ff9620 Compare September 29, 2021 11:19
@palkan palkan mentioned this pull request Sep 29, 2021
2 tasks
@palkan palkan force-pushed the master branch 13 times, most recently from 0f9a0b6 to f311544 Compare January 28, 2023 01:03
@palkan palkan force-pushed the master branch 2 times, most recently from 2e4efd0 to 7b2111f Compare April 2, 2024 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

demo Demo branch PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant