roucoulawan
Who repeated an unsupported claim about “a complete cure for cancer in a year”
You Might Not Need JQuery
The Atlantic reports on study of the economic impacts of climate change
I indeed prefer using sagas than observables, maybe because of the cool 'select', 'put' and 'call' apis that helps me to do smart hook methods. With a good combination with such normalizr lib (https://github.com/paularmstrong/normalizr), you can actually fast implement a light optimist transactions system between frontend and backend.
For instance, you can define a REQUEST_PUT_ENTITIES action, and a saga watching on it. This saga will do: - a 'call' for calling the api post method for updating the backend (ie updating all the collections through your backend database apis) - get back from the api the put data, and into the saga you then 'put' a MERGE_INTO_ENTITIES action, in order to direclty update and normalize your frontend entities app state. - once your app state is synchronised, your saga can even 'select' again these put entities thanks to their ids and you can 'put' a nice REQUEST_PUT_ENTITIES_SUCCESS action from which you can hook any kind of specific-to-the-app post-synchronized methods.
So, for me redux-saga with a bit of wrapping is like a light solution for doing what we all are searching actually in such heavy libs like Relay or react-appollo (but here I am talking for a quick solution with a 'stupid-like REST approach'...so maybe not optimized for sure)
I don't know what do you think guys...
I think I would just still be more attracted by Appollo framework which is more a redux-like syntax, so more consistent with all the workflow of the apps I used to develop. But maybe Relay has better benchmarks?
Also, if I want to stay REST but with optimist transactions between the backend and frontend, I prefer lighter lib like https://github.com/tonyhb/tectonic or even I just write some fast redux-saga watchers that helps to make my frontend always synchronized when my app calls a mutating db request.
I think that this light lib could be actually a cool toy to use if you need for example to do some simple app state listened manipulations on the node backend side.
Otherwise, that is true, I would maybe still prefer to use frontend side some well-designed frameworks like redux-Rx or redux-react
New York Times highlights the growing number of hot days in a warming world
Manifesting Inclusive Growth and Radical Contribution
Cooperatives' Uber Moment
Full Stack React Native Development Using GraphCool and Apollo
Upgrading from Node 6 to Node 8: a real-world performance comparison
Energy Secretary incorrectly claims CO2 is not primary cause of climate change
That article proposes to select and highlight a particular subset of these helpers, notably React and Redux.
But all of these are made in JS... So it is about to empower this language through good sugar syntaxes, and with dom manipulation/app state transactions friendly apis.