Add generator option to create Reducer, Saga and api
See original GitHub issuePlease provide an option in CLI to generate reducer, saga and api files for any object to add in state. Plus it will also add default request, success and failure Type strings in Types.js and methods in Creators.js
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (11 by maintainers)
Top Results From Across the Web
Beginner Tutorial - Redux-Saga
We'll use this function to block the Generator. Sagas are implemented as Generator functions that yield objects to the redux-saga middleware. The yielded ......
Read more >createModule API | Saga Slice
It brings together types , actions , reducers and sagas into 1 file, dramatically reducing the amount of boilerplate needed to create an...
Read more >Understanding Redux Saga: From action creators to sagas
Learn how to use Redux Saga for both simple and complex approaches to implementing async operations with action creators, thunks, and sagas.
Read more >Understanding Redux Saga with a simple API call Tutorial
In this video, we learn about Redux Saga with a very simple example app that makes an api call.Subscribe to my channel: ...
Read more >Adding support for dispatching Sagas from Action Creators ...
@ganarajpr man, I totally enjoy the generator based API for control flow and ... from 'redux-saga-dispatcher' import reducer from '.
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

You don’t need to worry about that yet. 447 needs to worry about this.
We’re doing one last refactor to the way we make Types/Creators and reducers. Once we are happy with the change, we will be making a generator 😃