fix(client): disable core prefetching due to scrolling performance in the map (#35512)
- [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md). - [x] My pull request has a descriptive title (not a vague title like `Update index.md`) - [x] My pull request targets the `master` branch of freeCodeCamp. - [x] None of my changes are plagiarized from another source without proper attribution. Closes #35418 It disables only prefetching on link become visible, other prefetching strategies like prefetching on link hover still work.
This commit is contained in:
committed by
mrugesh mohapatra
parent
cc49ac0456
commit
3a2db4744d
@ -57,3 +57,5 @@ wrapPageElement.propTypes = {
|
||||
location: PropTypes.objectOf({ pathname: PropTypes.string }),
|
||||
props: PropTypes.any
|
||||
};
|
||||
|
||||
export const disableCorePrefetching = () => true;
|
||||
|
Reference in New Issue
Block a user