jamesplease / react-request

Declarative HTTP requests for React
MIT License
362 stars 21 forks source link

Request: Example with Redux Resources #198

Open ilijaNL opened 5 years ago

ilijaNL commented 5 years ago

Hey,

Does anyone has an example how to use this repository with combination with Redux Resources?

Ilija

jamesplease commented 5 years ago

:wave: hi there @Rusfighter ! I know it's been a few months, and I'm sorry about that. Somehow...I completely missed this issue!

Before I reply with more details, do you mean Redux Resource?

jamesplease commented 5 years ago

I see in the other issue that you do mean Redux Resource. Integrating the two is possible, and I was working on a library to do just that.

You can see the (WIP) library here: React Redux Resource.

You can see it in the example app that I use for developing these kinds of projects here.

Note that it was never completed, and is not yet ready for general consumption.


Right now, many of my efforts are toward a new solution that solve a lot of the problems in Redux Resource and React Request. Don't get me wrong, both of these libs work just fine, and a bunch of internal production apps at Netflix rely on them! But I've learned a lot since I made them, and the React landscape has changed a ton, namely due to Hooks and Suspense. It seemed like a good time to think about what a solution to these same problems would look like today, so that's what I'm working on.

I should have something to show...sometime!