Summary
- I define a component named
ShowTopic
which takes on argument, the topicUrl
- The component stores some data: a
topic
which contains an array of comments
- I use two other components,
ShowComment
and AddComment
- I define a method
fetchItems
which loads data from the remote API defined in topicUrl