jss
jss copied to clipboard
[sitecore-jss-nextjs] Link component prefetches files
- [x] This PR follows the Contribution Guide
- [x] Changelog updated
- [ ] Upgrade guide entry added
Description / Motivation
We need to render regular React link instead of Next.js link component when relative URL has a file extension
Testing Details
- [x] Unit Test Added
- [x] Manual Test/Other (Please elaborate)
Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)