Build a Recursive Component for Nested Comments in Vue.js and Nuxt

Share this video with your friends

Send Tweet

Comments can have sub-comments which can have even more deeply nested comments. This lesson walks you through the process of loading data recursively by creating a Comment component which can load itself.

Victor Hazbun
Victor Hazbun
~ 7 years ago

Amazing tutorial, right to the point!

Victor Hazbun
Victor Hazbun
~ 7 years ago

I found there is no need to do this https://github.com/johnlindquist/hackernuxt/blob/comments/components/Comment.vue#L40 since the item already have the kids included.

richoid
richoid
~ 3 years ago

Pretty good tutorial, but there's nothing addressing form input to the store (or did I miss something?)