Skip to content

Working with Turbo Stream helper? #303

Answered by joeldrapper
Bumppoman asked this question in Help

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

You must be logged in to vote
0 replies

You must be logged in to vote
3 replies
@Bumppoman

@joeldrapper

@Bumppoman

You must be logged in to vote
2 replies
@mhenrixon

@davekaro

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