Skip to content

Flashlist crashes expo web #1697

@SamuraiF0x

Description

@SamuraiF0x

Current behavior

Flashlist v2 crashes on expo web.

I see the following error:

Uncaught ReferenceError: exports is not defined
    node_modules bundle.js:94397
    Webpack 51
[useDataMultiplier.ts:8]
(.../node_modules/@shopify/flash-list/src/benchmark/useDataMultiplier.ts)

Expected behavior

Flashlist should not crash.

To Reproduce

Create a flashlist and start expo web.

Platform:

  • iOS
  • Android
  • Web

Environment

^2.0.0-rc.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv2.0

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions