phenomejs / phenome

The ultimate cross-framework component compiler
http://phenomejs.org
MIT License
71 stars 8 forks source link

Remove React's __getReactComponentSlot jsx-transformer #4

Closed nolimits4web closed 6 years ago

nolimits4web commented 6 years ago

We don't need it as we have implemented this.slots functionality, so instead of this in render function:

__getReactComponentSlot(this, "default")

we can just use

this.slots.default