Update README to direct users to specific version of typings#8
Update README to direct users to specific version of typings#8MilllerTime merged 2 commits intoMilllerTime:masterfrom
Conversation
See discussion at DefinitelyTyped/DefinitelyTyped#26363 -- typings for react-pointable had to be updated for compatibility with React 16.4 (since all of DefinitelyTyped is, unfortunately, versioned in lockstep). The upshot is that the latest version of @types/react-pointable will not expose pointer events when used with @types/react below 16.4.
|
Nice, thanks for helping to get the React types straightened out! |
There was a problem hiding this comment.
I'm a TypeScript novice, but I understand that installing the latest version of @types/react-pointable with an older version of React would break things. I would think it might be helpful to consumers of this package if there was a bit more information about this situation. Something like:
If you're using a version of React < 16.4, run
npm install --save-dev @types/react-pointable@1.1.3If you happen to be using React 16.4+ and can't yet remove this package for some reason, you can instead run
npm install --save-dev @types/react-pointableTo learn more, see the discussion at DefinitelyTyped/DefinitelyTyped#26363
There may be a better way to explain this, and I could also be overthinking this entirely.
|
@MilllerTime Sounds good to me -- I've amended the PR. |
|
Cool. Thanks again. |
See discussion at DefinitelyTyped/DefinitelyTyped#26363 -- typings for react-pointable had to be updated for compatibility with React 16.4 (since all of DefinitelyTyped is, unfortunately, versioned in lockstep). The upshot is that the latest version of
@types/react-pointablewill not expose pointer events when used with@types/react<16.4.