In this lesson, we'll dig deeper into Turbo Streams by adding a new feature to our app - user Reviews.
Like we saw in a previous lesson on lazy loading Turbo Frames, we will display user reviews below the product description.
But instead of some hardcoded text, we'll add a new Review model and allow logged in users to post reviews.
We'll use Turbo Streams to instantly prepend new reviews to the list of reviews.
Like we saw in a previous lesson on lazy loading Turbo Frames, we will display user reviews below the product description.
But instead of some hardcoded text, we'll add a new Review model and allow logged in users to post reviews.
We'll use Turbo Streams to instantly prepend new reviews to the list of reviews.