Start your All-Access Pass to unlock this challenge
My awesome chat application has 2 template fragments that I need to
update via Turbo Streams. One, the chat messages, lives under chat/_messages.html.twig
.
A second one, a list of users, is on chat/_user-list.html.twig
.
When a user enters a message on the chat, we need to update both! (We'll see how to receive server notifications soon!).
How can I accomplish this by rendering only one Turbo Stream request?