Skip to content

Turbo Broadcastables & Helpers #806

Discussion options

You must be logged in to vote

try to use the :renderable following the example provided by the turbo rails doc:

broadcast_replace_to(user, :message, target: "message", renderable: MessageComponent.new)

PS: I just implemented here and it worked perfectly well.

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@joeldrapper
Comment options

@gabriel-curtino
Comment options

@fagnerpereira
Comment options

@gabriel-curtino
Comment options

@joeldrapper
Comment options

Answer selected by gabriel-curtino
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants