jurassix / react-validation-mixin

Simple validation mixin (HoC) for React.
MIT License
283 stars 38 forks source link

React.findDOMNode instead of findDOMNode #81

Closed jamesryan-dev closed 7 years ago

jamesryan-dev commented 7 years ago

cc: http://stackoverflow.com/questions/29336178/react-finddomnode-comes-as-undefined

Was hitting an error in my react.app when using this but by adding React.findDOMNode instead of findDOMNode within the getValidatorData() function I could carry on working..

Don't know if this is a prevalent issue but thought I'd recommend a change to Docs re this..

/shrug

jimmy

jamesryan-dev commented 7 years ago

Realise now cause my import was different prob not a reason to raise an issue eh 😅

jurassix commented 7 years ago

Yeah this library is in need of some TLC. Was started awhile ago. Thanks for the issue. I'll try to put some time in to get this current.