react-refetch icon indicating copy to clipboard operation
react-refetch copied to clipboard

Add support for React 16.3 getDerivedStateFromProps

Open wmonk opened this issue 7 years ago • 2 comments

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

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

wmonk avatar Apr 09 '18 14:04 wmonk

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

wmonk avatar Apr 09 '18 14:04 wmonk

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

horyd avatar Apr 10 '18 01:04 horyd