Ignite: Where can I find a redux-saga example for API consumption?

Created on 30 Oct 2017  Â·  5Comments  Â·  Source: infinitered/ignite

Hi,
I'm loving the boilerplate. I have one request though.

Can you point me to a repository with an ignite app that uses redux-saga to get data via actual apis (not fixtures)? I'm trying to extend your sample app that grabs a github avatar via the startup saga.

I've tried to replace the github call with my own and it works as long as I kick it off from the startup saga but I can't make it work independently. As well, I'm wondering if I need to create a separate saga for each possible call or if I can make a general saga.

An app that uses sagas to make a handful or more of api calls would be great for learning.

Thanks!

question

Most helpful comment

Done. First time contributing to another's repository. Hope that I created
it correctly! Please let me know if I need to fix anything. Continued
appreciation of your work!

On Fri, Nov 10, 2017 at 9:21 AM, Silas J. Matson notifications@github.com
wrote:

Closed #1173 https://github.com/infinitered/ignite/issues/1173.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/infinitered/ignite/issues/1173#event-1336474012, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAXjPerJJ3BN1UvCUfPt3l8Vo4cn2PTDks5s1IYpgaJpZM4QL-MK
.

--
Mark Murphy, 503-809-1141, LinkedIn http://www.linkedin.com/in/markkmurphy

All 5 comments

There are a couple simple API examples in our ChainReact app, which is open source. Here is one of them: https://github.com/infinitered/ChainReactApp/blob/master/App/Sagas/ScheduleUpdateSagas.js#L4

Perfect. I followed that example with success. Thanks for the tip. I knew
about that app but forgot to have a look this time.

On Mon, Oct 30, 2017 at 4:23 PM, Kevin VanGelder notifications@github.com
wrote:

There are a couple simple API examples in our ChainReact app, which is
open source. Here is one of them: https://github.com/
infinitered/ChainReactApp/blob/master/App/Sagas/ScheduleUpdateSagas.js#L4

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/infinitered/ignite/issues/1173#issuecomment-340614209,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXjPagADnP6YFP8IDMFne1PFeczhg-Xks5sxlpVgaJpZM4QL-MK
.

--
Mark Murphy, 503-809-1141, LinkedIn http://www.linkedin.com/in/markkmurphy

Maybe we should add a reference in the readme. "See an app built with Ignite Andross"

@mobitinker Can you create a Pull Request adding your question to the FAQ with an answer linking to both this issue and the ChainReactApp?

https://github.com/infinitered/ignite/blob/master/docs/quick-start/frequently-asked-questions.md

Done. First time contributing to another's repository. Hope that I created
it correctly! Please let me know if I need to fix anything. Continued
appreciation of your work!

On Fri, Nov 10, 2017 at 9:21 AM, Silas J. Matson notifications@github.com
wrote:

Closed #1173 https://github.com/infinitered/ignite/issues/1173.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/infinitered/ignite/issues/1173#event-1336474012, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAXjPerJJ3BN1UvCUfPt3l8Vo4cn2PTDks5s1IYpgaJpZM4QL-MK
.

--
Mark Murphy, 503-809-1141, LinkedIn http://www.linkedin.com/in/markkmurphy

Was this page helpful?
0 / 5 - 0 ratings