Skip to content

Add support for React 16.3 getDerivedStateFromProps #199

Open

Description

@wmonk

When using getDerivedStateFromProps the lifecycle methods of react-refetch are not called.

I suppose react-refetch should be updated to use the appropriate methods.

Activity

  1. wmonk commented on Apr 9, 2018

    @wmonk
    Author

    Possibly also need to update hoist-non-react-statics

  2. horyd commented on Apr 10, 2018

    @horyd

    Yea I noticed when I tried 16.3 that none of the my PromiseStates were included in the props at all :S

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions