piotrwitek / react-redux-typescript-guide

The complete guide to static typing in "React & Redux" apps using TypeScript
https://piotrwitek.github.io/react-redux-typescript-guide/
MIT License
13.35k stars 1.09k forks source link

why the WithConnectedCountUsage component cannot increment the counter? #211

Open wishma2013 opened 4 years ago

wishma2013 commented 4 years ago

Although the onIncrement={onIncrement} is defined in it's props return ( <BaseComponent count={overrideCount || count} // injected onIncrement={onIncrement} // injected {...(restProps as BaseProps)} /> );