Skip to content

Working with Turbo Stream helper? #303

Answered by joeldrapper
Bumppoman asked this question in Help
Discussion options

You must be logged in to vote

Hey @Bumppoman I added support for rendering Phlex components as turbo stream content in turbo-rails 1.4. hotwired/turbo-rails#433

You can use it like this

turbo_stream.append "notifications", NotificationComponent.new(@notification)

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Bumppoman
Comment options

@joeldrapper
Comment options

@Bumppoman
Comment options

Comment options

You must be logged in to vote
2 replies
@mhenrixon
Comment options

@davekaro
Comment options

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