question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add generator option to create Reducer, Saga and api

See original GitHub issue

Please 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:closed
  • Created 7 years ago
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
GantMancommented, Oct 28, 2016

You don’t need to worry about that yet. 447 needs to worry about this.

1reaction
GantMancommented, Aug 27, 2016

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 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found