connercms

Results 13 comments of connercms

@wacii Even if I take alert out it still behaves the same way. I just tried with ``` discard: (error, _action, _retries) => { if (!('status' in error)) { //...

My store configuration is probably pretty messy I'll admit. I am overriding effect to use axios, overriding redux-persist to use v5^, and implementing redux saga as well. Here is the...

I still have been unable to figure this out. Returning true to discard does not actually discard the action - it just creates a loop of Offline/Busy actions being dispatched...

Here is my action creator ``` export const receivePartToNewWorkOrder = (disp, item, position) => ({ type: 'RECEIVE_PART_TO_NEW_WORK_ORDER', disp, item, position, meta: { offline: { effect: { url: 'inventory/receive_parts_order/', method: 'POST',...

@echoes221 I know you're probably busy but do you see any issue with my offline actions? Additional info: Returning true to discard causes the item to be retried endlessly about...

I have narrowed it down to an issue with my actions. If I dispatch the following action with no payload or meta data inside commit or rollback, it discards the...

I think I finally found it.. Error was in my reducer, in this case the rollback action. I typed a comma instead of a period in a line of code,...

Yes, this issue held me up a bit and I am in crunch time now, but if I get the chance I will do some testing and post the reducer...

@echoes221 So here is the reducer with the error ``` case PartOrderTypes.RECEIVE_PARTS_NEW_WORK_ORDER_ROLLBACK: case PartOrderTypes.RECEIVE_PARTS_WORK_ORDER_ROLLBACK: return { ...state, workOrder: state.workOrders.map( workOrder => workOrder, action.item.parts.some( part => part._id == line._id && part.bin...

I had to remove this library because I couldn't find a solution. Just been using react native's native switch.