Angular · Junior · Question 54 of 75

What does <ng-container> render in the DOM?

Explanation

It's handy when a wrapper element would break layout (e.g. inside a <ul> or a flex container) or to host a structural directive.

Further reading

Problem with a question

Angular · Junior · question 54

Test yourself

Take the Angular · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz