For people interested I converted this into a react component too
It's basically the exact same code but with some React nicety added for instance you can say how many stars you'd like and React will handle all the HTML for you
<StarRatingmax={15}defaultValue={5}/>
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For people interested I converted this into a react component too
It's basically the exact same code but with some React nicety added for instance you can say how many stars you'd like and React will handle all the HTML for you