react-scroll icon indicating copy to clipboard operation
react-scroll copied to clipboard

SpyThrottle: npm package update

Open HannaBabrouskaya opened this issue 3 years ago • 7 comments

Please, update npm package from master for spyThrottle usage. Thank you!

HannaBabrouskaya avatar Jul 21 '21 13:07 HannaBabrouskaya

It's really confusing to be in the docs but not in the actual codebase!

GabrielCTroia avatar Sep 01 '21 23:09 GabrielCTroia

@HannaBabrouskaya I'm not sure whats missing, but I've republished the project to npm.

@GabrielCTroia Please give some more details. The API and the examples, also the codepens are pretty straight forward.

fisshy avatar Sep 02 '21 05:09 fisshy

Hey @fisshy thanks for this. I'll check out the new version on npm. My issue was that both the published types.ts and the runtime didn't have the spyThrottle method exposed for some reason, even though the docs and the current master version had it.

GabrielCTroia avatar Sep 02 '21 18:09 GabrielCTroia

Hey @fisshy I'm experiencing the same issue - missing spyThrottle in the ts module, I did install the latest (v1.8.3) Any workaround for this?

sarithgunathilaka avatar Mar 23 '22 09:03 sarithgunathilaka

@sarithgunathilaka I can't see why it shouldn't be there, could you provide a codepen/plunkr to demonstrate the issue?

Also, 1.8.6 is the latest. https://www.npmjs.com/package/react-scroll/v/1.8.6

1.8.3 is 8 months ago.

fisshy avatar Mar 24 '22 16:03 fisshy

I think spyThrottle is missing from the types definition at https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-scroll

franciscohanna92 avatar Apr 12 '23 21:04 franciscohanna92

The type definition for spyThrottle has been added to DefinitelyTyped. I think, You need to upgrade the version of @types/react-scroll to 1.8.7.

hyeewooon avatar Jun 05 '23 01:06 hyeewooon