title: React HOC DOM properties are triggering 'Unknown event handler property'
body: <p>I just made a HOC with recompose but for some reason all the props passed down are triggering a React Warning.</p>
  
  <pre><code>Warning: Unknown event handler property `onSaveChanges`. It will be ignored.
  </code></pre>
  
  <p>And all my property which has the same syntax (starting with lower case, and then an upper case: lowerUpper). Of course if I write it full lower case then its won't trigger any warnings, BUT am I supposed to write all my props in lower case if I use a HOC with recompose?</p>
  
  <p>My HOC:</p>
  
  <pre><code>import React from 'react'
  
  import { withStateHandlers, withHandlers, withState, compose } from 'recompose'
  
  const editableCell = (defaults) =&gt; 
      compose(
          withStateHandlers(
              { isEditing: false, value: ''},
              {
                  toggleEditing: ({ isEditing, inputValue }) =&gt; defaultValue =&gt; ({
                      isEditing: true,
                      inputValue: isEditing ? inputValue : defaultValue
                  }),
                  onChange: () =&gt; event =&gt; ({
                      inputValue: event.target.value
                  }),
                  deactiveCell: () =&gt; () =&gt; ({
                      isEditing: false
                  })
              }
          ),
          withHandlers({
              handleSave: ({
                  isEditing,
                  inputValue,
                  onSaveChanges,
                  deactiveCell,
              }) =&gt; event =&gt; {
                  event.preventDefault()
                  //can validate before save...
                  deactiveCell()
                  return onSaveChanges(isEditing, inputValue) 
              }
          })
      )
  
  export default editableCell
  </code></pre>
  
  <p>Basically ALL my property is triggering this warning (either function, or just a simple primitive, basically anything [isEditing, inputValue, onChange, deactivateCell, onSaveChanges, handleSave... etc]</p>
  
  <p>How am I suppose to solve this error? Its really annoying.</p>