Download Latest Version v3.0.0.tar.gz (100.9 kB)
Email in envelope

Get an email when there's a new version of React Refetch

Home / v3.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2019-10-23 579 Bytes
v3.0.0.tar.gz 2019-10-23 100.9 kB
v3.0.0.zip 2019-10-23 108.4 kB
Totals: 3 Items   209.9 kB 0

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.

Source: README.md, updated 2019-10-23