redux-logic
redux-logic copied to clipboard
Redux middleware for organizing all your business logic. Intercept actions and perform async processing.
# Issue description Application with many logics(example 100) would cause deep RxJS "next" call stacks. I have recreated the issue with one of the example, added 100 dummy logics which...
Hi there! Great lib. Having trouble getting state from api call while doing server side render. All i get is the initial state of the reducer. How to wait for...
For most of my projects, I have to make multiple `dispatch` calls in `process` and I normally write like this: ```js const logic = createLogic({ type: FOO, async process({ getState,...
Hello. Unfortunately, I can't find redux-logic v4.0.0 in npmjs.com Perhaps problems with your travis-ci. Regards.
I'm starting to use Typescript in a project and I've used Redux-logic in pretty much all my previous projects. With Typescript though it's been a challenge. I haven't seen that...
I've got the following code, converted from JavaScript, where it works fine. The call to `createLogic` works, but for some reason the call to `createLogicMiddleware` doesn't- I get one of...
Wondering what's the right way to handle a websockets listener implemented through redux-logic with SSR. I've been using window.location to configure the listener. Should I use process.env variables to configure...
I noticed that the editor complained about the type not being correct for passing an array of types. According to [documentation](https://github.com/jeffbski/redux-logic/blob/master/docs/api.md#createlogic) it is: required string, regex, Symbol, array of str/regex/Symbol,...
I ran into this issue where `NODE_ENV` is always `!== "production"`, because when running in the browser `window` won't be `undefined`. Check the code below: https://github.com/jeffbski/redux-logic/blob/1034a3ecff5dc12d3fb82ed3386a86a89d3adab5/src/createLogic.js#L24 So, later on in...
I want to be able to add temporary logics, e.g. something that only applies while some particular React component is mounted. So ideally, I'd like to do something like that:...