Skip to content

React Hook useEffect has a missing dependency: #27

Description

@OWAIS14325

React Hook useEffect has a missing dependency: 'store'. Either include it or remove the dependency array. You can also do a functional update 'setStore(s => ...)' if you only need 'store' in the 'setStore' call react-hooks/exhaustive-deps

I am getting this warning. how to fix please help
Screenshot 2021-07-31 at 12 39 16 PM

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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