Brian Shannon
Brian Shannon
Would be nice to have an example calling an `action` ```js // @ts-ignore: Unreachable code error import actions from 'redux-auto'; import { render } from '@testing-library/react'; import React, { useEffect...
```js export function action() { return { name: 'tom' } } ``` ``` Error: Uncaught [TypeError: (intermediate value)(intermediate value)[avabileAction].apply is not a function] at Object.dispatch [as get] (/Users/bri/Firetail/saas-frontend/node_modules/redux-auto/bundle.js:351:15) ```
Would it be posable to add a "async" *the same as loading. On the root of the store as this is always an object. as would fix the case where...
When a reducers returns an Array. The protype is not replace with the async/loading Vals?
``` // /store/user/changeUserName.js export default function (user, payload, stage, data) { return user; } export function action (payload,user){ if(payload.userId){ return fetch('/api/foo/bar/user/'+payload.userId) } } ``` Is **missing** `actions.user.changeUserName.fulfilled` e.g. `if( action.type...
const dateFormat = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z$/; function reviver(key, value) { if (typeof value === "string" && dateFormat.test(value)) { return new Date(value); } return value; } const text = '{ "date": "2016-04-26T18:09:16Z" }';...
For debugging it maybe nice to have a calledFrom in **_Dev mode_**. So one can see what line is firing the action
"TypeError: lookup[reducerName].index is not a function" The index.js file existes but its empty
"Error: object was passed as payload to user.fris. This need to be an object. Check you have not misspelled of the variable" This can be fixed just by adding Array.isArray...
My server is returning a 201 created with no response body but fulfilled the is never fired. I know the request is fine because I can see it completing in...