Skip to content

Data Duplication issue using react-hook-form #1449

Open
@amjadbouhouch

Description

@amjadbouhouch

Current behavior

I have a list of questions and answers (Q/A) where the state is managed by react-hook-form. When there are many questions and the user scrolls, the answers get duplicated in the UI. For example, the answer for the first question appears again in a later question, even though the underlying data is correct.

Here’s a reproduction of the issue: https://snack.expo.dev/@amjedbouhouch/react-hook-form-flash-list-issue?platform=android

ScreenShots

Image Image

Expected behavior

To Reproduce

https://snack.expo.dev/@amjedbouhouch/react-hook-form-flash-list-issue?platform=android

Platform:

  • iOS
  • Android

Environment

1.6.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions