Recently, my team made the decision to adopt angular/flex-layout for one of our projects. I have been questioning the reasoning behind this choice as all I seem to find are arguments against it.
Take this code snippet, for example:
<div fxLayout="row" fxLayoutAlign="space-between">
</div>
The conventional "best practice" of separating content and style in HTML & CSS seems to be disregarded with flex-layout. It appears more like an inline style, which contradicts good coding practices.
The only upside I can see is the ability to use variables directly in flex-layout directives, but this could also be achieved using the ngStyle directive.
I value different perspectives, so I'm curious to know what you think about this aspect of flex-layout usage.