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

Typo in README.md #182

Closed kvoncode closed 5 years ago

kvoncode commented 5 years ago

Location: https://github.com/piotrwitek/react-redux-typescript-guide#reactxxxeventhtmlxxxelement

It's said that React.XXXEvent<HTMLXXXElement> is Type representing more specific event handler

Instead maybe it should be just: Type representing more specific event

So for example React.MouseEvent<HTMLDivElement> is type of mouse event that happened on HTMLDivElement

piotrwitek commented 5 years ago

Yeah that makes sense