TIL: Turbo Stream and personalised content — Good Enough

Hotwire and Turbo are great for very quickly and easily adding real-time updating of webpages without requiring the browser to reload the whole page.But if the information you want to stream back from your server to the client has anything specific to the current user — like using the name "You" instead of "James" — you might hit an issue. So far I haven't found this written up on the web anywhere, so hopefully this will help someone else with the same problem.Let's take this example straight from the documentation:.
TIL: Turbo Stream and personalised content — Good Enough #ruby #rubydeveloper #rubyonrails #turbo https://rubyonrails.ba/single/til-turbo-stream-and-personalised-content-good-enough

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles