Let’s rethink our current module architecture and how we have the partials laid out. The comments have several components and sub-components. Right? It has the following components:
- comments list
- comment which includes the header, author, meta, and comment content
Just like we did for the entry header and footer, it’s best to break out components into their own partial. For the comments, it’s up to you how far you want to break things out. Let’s talk about several strategies and think about different alternatives.
There’s a time to code and …. yup, that sums it up.
Total Lab Runtime: 00:21:29