arunoda / react-komposer

Feed data into React components by composing containers.
MIT License
733 stars 70 forks source link

Add option to pass ref down to underlying component #88

Closed clayne11 closed 8 years ago

clayne11 commented 8 years ago

Fixes #67

arunoda commented 8 years ago

I don't understand the use case of this. (May be I'm bit wrong on this). Could you add the use case of this API as a test case?

clayne11 commented 8 years ago

To test it fully I need to use full DOM rendering. Do you want me to set up a test with JSDOM?

arunoda commented 8 years ago

Hmm. May be we need it. Try this: https://github.com/kadira-samples/react-button/blob/master/.scripts/mocha_runner.js

clayne11 commented 8 years ago

I added a test showing and validating the use case using JSDOM.

arunoda commented 8 years ago

Got it. Thanks.