Closed mickmister closed 4 years ago
@souporserious Do you have an opinion on this proposal?
@souporserious Really hoping you'll consider this. There shouldn't be any backwards compatibility issues, and fits nicely with the encapsulation of the inner components. Please take a quick a look if you get the chance.
Thanks for making this great library! I have a use case where I want to compose a UI out of the controls in this library, but I don't want to use the
Media
component. The way the components are written, thethis.props.media
can easily be used without themedia
context
.@souporserious I'm not sure if you agree with the style of named exports and default exports in the same file, but this approach shouldn't break anything. I think allowing this can make the library much more powerful.