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

A simple, declarative, and composable way to fetch data for React components

Results 54 react-refetch issues
Sort by recently updated
recently updated
newest added

Fixes https://github.com/heroku/react-refetch/issues/209 for most of the cases. For initial render the ref is still missing. But that's a problem mostly in case of mock data only I think. Proper fix...

Hi, Following definition does not get component in meta, even when `withRef` is true. ``` { req: { value: { random: 'value' }, then: val => ({ value: transform(val), andThen:...

First off, thank you for this library, it is awesomely simple! I've been toying with `react-apollo` and the new `` and `` components, and they are really nice in terms...

Hi, First, great library - thanks. I'm using Automatic Refreshing and would like to update the url before the request is made. Would it be possible to have the url...

enhancement

This would be useful for reducing the size of the bundle)

When using [`getDerivedStateFromProps`](https://reactjs.org/docs/react-component.html#static-getderivedstatefromprops) the lifecycle methods of `react-refetch` are not called. I suppose `react-refetch` should be updated to use the appropriate methods.

connect.options({withRef: true}) did seem to work, and updated the component in meta in then: callbacks

Hey, I'd like to be able to specify defaultProps on a Component decorated with `connect`, and to have those added to the props passed to its callback: ```js class Foo...

I can see in the docs the ability to use `PromiseState.all` in the component to put together a number of existing Promise states on the props. This is cool, however...

I'm new to the library but i've been using the manual refresh pattern from the readme a lot because each of my screens have a refresh button. ``` connect(props =>...