twobin / react-lazyload

Lazy load your component, image or anything matters the performance.
MIT License
5.87k stars 488 forks source link

Is there a misspelling in the source code about 'needResetFinalLazyLoadHandler'? #232

Open nianiaJR opened 5 years ago

nianiaJR commented 5 years ago

https://github.com/twobin/react-lazyload/blob/master/src/index.jsx#L192 It seems to be:

    const needResetFinalLazyLoadHandler = (this.props.throttle !== undefined && delayType === 'throttle')
      || (delayType === 'debounce' && this.props.debounce === undefined);