30 Days with LAST Stack
Turbo Streams: Update any Element
Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 1 / 1

Our project has a little widget that shows the number of active users:

<body>
    <div id="active-users-count">{{ activeUsersTotal }} active</div>
    <!-- other code -->
</body>

How can we create a Turbo Stream that will update the number of active users?

Select your answer
Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.