Flow of this assignment

<%= @topic_view.topic.title %>
<%= @topic_view.topic.average_rating %> <%= @topic_view.topic.posts.count { |p| !!p.custom_fields['rating'] } %>

is there anyone to help me to understand the flow of this assignment

"https://learn.freecodecamp.org/front-end-libraries/react/pass-a-callback-as-props
"

This has been a confusing one for me as well, I will suggest you start with rending <GetInput/> and <RenderInput/> and may be post your code here. And we shall move from there.