Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Angular Basics Angular Components Nesting Components

Lokesh Sanapalli
Lokesh Sanapalli
1,242 Points

Order of Entry Component and EntryList Component

At 8:50 he is explaining Why he put EntryComponent first then EntryListComponent, I didn't understand clearly even though repeated hell lot of times. When he said EntryList, the subtitles showsing entryless which made me to think what entryless means... I felt like he is simply reading through the transcript.

3 Answers

Andrew Chalkley
STAFF
Andrew Chalkley
Treehouse Guest Teacher

Thanks for sharing the error in the subtitles. I've updated the subtitles on this video

Lokesh Sanapalli
Lokesh Sanapalli
1,242 Points

can you explain why do we need to put EntryComponent first and then EntryListComponent??? still didn't understand it

Andrew Chalkley
STAFF
Andrew Chalkley
Treehouse Guest Teacher

Hey Ken Howard (co-author of the course)

Can you explain Lokesh out with regard to the nesting of these components?

Regards
Andrew

shubhamkt
shubhamkt
11,675 Points

Hey Andrew

Where is the explanation? I didn't get the priorities of nesting. Why entry before entry-list?

Andrew Chalkley
STAFF
Andrew Chalkley
Treehouse Guest Teacher

When the EntryListComponentis rendered is needs to know about the EntryComponent. If it doesn't come before the EntryListComponent in the code it doesn't know about it yet.