Skip to content

Every list Item is rendered multiple times #121

@mydesweb

Description

@mydesweb

If we wrap the BigList component with SafeAreaProvider or using react-navigation every list Item is rendered multiple times. Please check this snack https://snack.expo.dev/@mydesweb/safeareaissue

This is bad since it is a negative performance impact.

  1. Open the code from your device
  2. Check the console logs
  3. Shake & Reload button from expo app or remove the app from background and open again
  4. You will see unexpected multiple Item renders

Can anybody explain why this is happening?
Screenshot 2021-12-19 at 11 42 30

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions