As Angular is maturing, it gets harder and harder for newcomers to make sense of the abundance of materials you find online. The vast majority of Angular 1.x tutorials use outdated Angular practices–things that modern Angular 1.x projects should not be using.
It's often useful to include compiled front-end code in npm modules (eg: CSS transpiled from SCSS). However, it's suboptimal to commit compiled code to your repository because you end up with bloated diffs in your commit history and a higher chance of merge conflicts. You'll also end up with a much larger overall filesize for your repo, which will slow down pushes and pulls.
The main idea behind the flex layout is to give the container the ability to alter its items' width/height (and order) to best fill the available space (mostly to accommodate to all kind of display devices and screen sizes). A flex container expands items to fill available free space, or shrinks them to prevent overflow.
We hope you enjoyed reading this week's issue of #FrontendCookies. If you like our newsletter, refer it to a friend or colleague.