redux-saga effects not attached.
See original GitHub issueHi. i’m daniel. I have a question about it.
I got a some issue When i use redux-saga-router in my projects.
package dependencies version.
- redux-saga: ^1.1.1
- redux-saga-router: 2.2.0
when i follow the example configuration in README.md
i got a
TypeError: Cannot read property 'call' of undefined
var call = exports.call = _reduxSaga.effects.call;
I thought that error using way for effects module are changed
BEFORE:
import {effects } from 'redux-saga';
AFTER:
import { call } from 'redux-saga/effects';
That means redux-saga-router does not support redux-saga 1.1.1 version?
if not support it, could i downgrade my saga version? or has other way for solving it?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
API Reference - Redux-Saga
This effect is blocking if the put is not buffered but immediately consumed ... When cancelling a Saga, all attached forks (sagas forked...
Read more >Compatibility problem with release 1.0 · Issue #1739 · redux ...
I can't use redux-saga 1.0 with my application which use react-redux 6.x and connected-react-router 6.x ==> The effects are not called.
Read more >Redux-saga not picking up action dispatch - Stack Overflow
Seems that your root saga file is not calling a saga method to start your sagas. As the documentation says: you should call...
Read more >Redux Toolkit's new listener middleware vs. Redux-Saga
Predicate: the predicate property is a function that returns true or false to determine whether the effect callback should run or not. It...
Read more >Eat This, It's Safe: How to Manage Side Effects with Redux-Saga
By leveraging the put and call methods from Redux-Saga, I don't need to worry about mocking the API. The call method does not...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@bongster Yes, TLDR:
"redux-saga-router": "luistorres/redux-saga-router#dist"
What happens is that since my fork isn’t a published node package, npm/yarn can’t retrieve it and compile it, which is needed for it to work in your app. To solve this I created a
#dist
branch where I pushed also the compiled version and it can use directly.hi @bongster, yeah you either downgrade it or as a
hacky solution
you can point your package.json to the compiled version of my branch https://github.com/jfairbank/redux-saga-router/pull/29