How to Show a Rating
Let's learn how to render states in stateful components.
We'll cover the following...
We’re getting closer to the goal of showing ratings step by step. Remember,
we’ll show the ratings that exist, and forms for ratings otherwise. Let’s cover
the case for ratings that exist first. We’ll define a stateless component to show a rating. Then, we’ll render that component from within the RatingLive.IndexComponent
.
Let’s get started.
Building the rating show component
We implemented a simple RatingLive.ShowComponent
module to implicitly render the ...