fake-medium
fake-medium copied to clipboard
💥 A tiny (super tiny) medium article page + clap animation for demo purposes.
Fix on error, onFailure my not be an action
``` export function newProfile(data) { return new Promise((resolve) => (dispatch) => { apiAction({ url: '/profile', data, onSuccess: ((response) => { dispatch({ type: NEWPROFILE, payload: response.id }); resolve(response.id); }), label: LOADING,...
Hello, Allow me to first give you a round of applause and a huge thanks, your middleware is quite perfect, very beautiful coding. Yet I failed to see on how...
Hi, Your way of implementing a generic api middleware is great. I am using 'UseDispatch' from react-redux library, here i will dispatch to an action and do an api call...
Im not able to perform delete action in store because no id
HI, that data fetching with redux middleware is really good but I'm thinking what we should do when we don't want to pass request data into store every-time? For example...
Hi Ohansemmanuel Nice work - this was very helpful to me. It looks like you don't have a license file in this repo. Would you mind adding one? Without this,...