Skip to content

Add ActionCable to rescript (#565) #570

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 23, 2023

Conversation

Yassa-hue
Copy link
Contributor

@Yassa-hue Yassa-hue commented Nov 20, 2023

Adding ActionCable to the Rescript page to receive the new broadcasted comments. see the js example


This change is Reviewable

@Yassa-hue Yassa-hue self-assigned this Nov 20, 2023
@Yassa-hue Yassa-hue added the bug label Nov 20, 2023
@ahangarha
Copy link
Contributor

ahangarha commented Nov 20, 2023

Don't worry about tests at this time. We mostly get false failures.

<%= react_component "RescriptShow", prerender: true %>
<%= react_component "RescriptShow", prerender: false %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why turn off SSR?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry it is an initial implementation, it is not done yet. I'll ping you when it is done.

@ahangarha ahangarha requested a review from alex35mil November 22, 2023 10:34
@ahangarha ahangarha changed the title add ActionCable to rescript (#565) Add ActionCable to rescript (#565) Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants