James Please

Results 313 comments of James Please

I'm thinking that the fix here will be changing [this line](https://github.com/jamesplease/react-request/blob/f3983248b7fbecbaa4c5fcdb0d3c9f4d7e541078/src/fetch.js#L57) to be ```js fetching: !this.isLazy() ``` I'm working on a docs update now, but this will likely be in...

:wave: hey there @simonrelet ! I appreciate you taking the time to open this issue! > Would you be willing take a PR for this? I'm definitely open to it....

> It's 400 lines which make the gzipped ~4kb. [Here's the hook](https://gist.github.com/simonrelet/54f53cc9a4bdcb430dd4912b828f1c4a). > > Maybe adding a [`"sideEffects": false`](https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free) entry in the _package.json_ would allow apps using Webpack 4 to...

Btw here's [a gist](https://gist.github.com/jamesplease/d9065c902b6d6f55244c43f9164c7e27) of a mostly-functioning hook for network requests. The code isn't the most tidy, as I just typed it up really quickly to test it out (it...

Hey @cescoferraro ! Thanks for opening this issue! You are totally right: that feature is definitely a necessity to replace Apollo with this library. Actually, creating an Apollo alternative was...

There is not currently a way to achieve this by solely using React Request. This is by design, but I'd be open to consider what a subscription/observable/stream-like API would look...

I'm closing this as revisit. We won't know more until React Suspense is closer to being finalized. Feel free to leave your comments/ideas in this issue, though!

Reopening. Apollo's React Client has a solution that acts as a prop on their Query component. I can use that as motivation on how to implement it here.

I won’t have time to do that for you

Closing; will track this work over in the react-composer repo