Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: prevent __DEV__ is not defined on web #806

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ethanneff
Copy link

Description

Fixes (issue #)

error boundary ReferenceError: __DEV__ is not defined
    at FlashList.validateProps (FlashList.tsx:142:1)
    at new FlashList (FlashList.tsx:110:1)
    at constructClassInstance (react-dom.development.js:14323:1)
    at updateClassComponent (react-dom.development.js:19688:1)
    at beginWork (react-dom.development.js:21611:1)
    at beginWork$1 (react-dom.development.js:27426:1)
    at performUnitOfWork (react-dom.development.js:26557:1)
    at workLoopSync (react-dom.development.js:26466:1)
    at renderRootSync (react-dom.development.js:26434:1)
    at performSyncWorkOnRoot (react-dom.development.js:26085:1) 

Reviewers’ hat-rack 🎩

  • [ ]

Screenshots or videos (if needed)

Checklist

@DawidWietrzych
Copy link

DawidWietrzych commented Jun 12, 2024

Any updates on this issue? I wanted to update FlashList from 1.4.0 to 1.6.4 and I have the same problem when using React Native for Web.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants