react-refetch v3.0.0 Release Notes

Release Date: 2019-10-23 // almost 3 years ago
  • 🚚 To support newer versions of React, this removes the use of deprecated React lifecycle hooks componentWillMount and componentWillReceiveProps, deprecated React Context API, and impure functions.

    💥 This is a breaking change from the 2.0 releases. To migrate, remove the use of the second context parameter and the pure option on any connect() functions. It generally should not impact applications, but be aware that fetches now happen on componentDidMount and componentDidUpdate.

    ⚡️ This also updates many dependencies, which resolves security vulnerabilities.