Avoid Width 100% Edit on GitHub

Avoid doing this:

@implementation ArtistComponent
+ (instancetype)newWithArtist:(ArtistModel *)artist
  return [super newWithComponent:
           newWithView:{[ArtistView class], ...}
           size:{.width = Percent(1.0)}]];

Instead, favor an approach using size:{} and requiring the parent of ArtistComponent to specify its width. For example, if the parent is a CKStackLayoutComponent, use CKStackLayoutAlignItemsStretch to stretch the component to full width.

This keeps components reusable in situations where you don’t want them to be 100% of the parent’s width.