FormidableLabs / FormidableLabs/jest-next-dynamic
Cannot read property 'preload' of undefined
Open
- Dominant language
- JavaScript
- Stars
- 70
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
With nextjs v13.1.7-canary.3, the 'preload' function no longer exists on `next/dynamic` components with `{ssr: false}`, causing an error `Cannot read property 'preload' of undefined`
Contributor guide
Research direction
Start by reproducing the error with Next.js v13.1.7-canary.3 and a next/dynamic component using {ssr: false}. Trace how jest-next-dynamic handles that component and verify that calling preload no longer produces the reported undefined-property error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nextjs
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100