Releases: HollyPony/react-rest-api
Releases · HollyPony/react-rest-api
v2.0.0
breaking changes
- remove *Json methods. You can use
resolveCallback={response => response.json()}
to automatic json transformations and provideconfig={{ headers: { 'Content-Type': 'application/json' } }}
. See README.md for more informations. - reverse
queryParams
andconfig
in api methods signature. This is for matching more closely the originalwindow.fetch
method.
features
- new
reolveCallback
andrejectCallback
methods to the provider called for api requests - add
_stringifyBody
to config. This param will be not send tofetch
method.