supnate / rekit

IDE and toolkit for building scalable web applications with React, Redux and React-router
http://rekit.js.org
MIT License
4.48k stars 258 forks source link

Unable to create actions with redux-saga plugin #225

Open aritgithub opened 4 years ago

aritgithub commented 4 years ago

# npm install rekit@next -g

# npm ls -g | grep rekit
+-- rekit@3.0.0-beta.7
| `-- rekit-core@3.0.0-beta.38
# rekit install redux-saga
[2020-03-17 04:55:05.733] [info] Plugin installed successfully: rekit-plugin-redux-saga@1.0.0.
# rekit create pa-sbo-ui-4 --sass
[2020-03-17 04:55:25.804] [info] Failed to load rekit.json, it doesn't exist or there is some syntax error. 
[2020-03-17 04:55:25.810] [info] All plugins: ["common-core","rekit-plugin","rekit-react","redux-saga"]
[2020-03-17 04:55:25.810] [info] Applied plugins for appType common:  ["common-core","redux-saga"]

# rekit add action home/my-action -a The action is created but with the default redux-thunk middleware, not with redux-saga.

In the old stable version of Rekit (2.3.3) creating the first async action adjusting all Redux-Saga configurations as reported in this issue https://github.com/rekit/rekit/issues/99.

Any suggestion/workaround?

Thanks in advance for the response and for Rekit!

bkominek commented 4 years ago

@aritgithub have you been able to find any workaround? I'm going through the same issue

aritgithub commented 4 years ago

:-( I didn't find any workaround; I downgraded my environment to the rekit@2.3.3 version.

wayneabarquez commented 3 years ago

hi @supnate, any workarounds on this? though using 2.3.3 works fine with redux-saga but that version of react doesnt support hooks API. Im hoping rekit-plugin-redux-saga has workaround with rekit@latest atleast