jxnblk / macro-components

Create flexible layout and composite UI components without the need to define arbitrary custom props
MIT License
484 stars 24 forks source link

Add a section on drawbacks/alternatives #4

Closed gaearon closed 6 years ago

gaearon commented 6 years ago

Since this is probably a matter of taste but also an overlooked aspect of component design, I want to make sure people who are excited by this library also understand that they can get a more reliable (but slightly more verbose) alternative in pure React: https://github.com/jxnblk/macro-components/issues/3#issuecomment-361971573

jxnblk commented 6 years ago

Thanks again for this + all the related discussion!

I published v2 with a similar API to the proposal in #8 and added an Alternatives section to the readme, which attempts to cover some of the concerns in this PR. I'm closing this out, but feel free to provide additional feedback on the language used in the current readme