infinitered / ignite-andross

The original React Native boilerplate from Infinite Red - Redux, React Navigation, & more
https://infinite.red/ignite
MIT License
475 stars 151 forks source link

redux-saga not firing the functions upon redux actions #267

Closed hunwalk closed 5 years ago

hunwalk commented 5 years ago

What's going on?

In the latest boilerplate redux saga is not firing the functions upon dispatching the observed action.

Steps to reproduce

ignite new Project
cd Project
react-native run-{os} //[android,ios]
ignite generate redux Test
ignite generate saga Test

add the test request type into the root saga (and the TestSaga itself), then try to dispatch the action

ignite-doctor

System
  platform           darwin
  arch               x64
  cpu                4 cores                   Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
  directory          /Users/horg3r/gombaszog

JavaScript
  node               8.12.0       /Users/horg3r/.nvm/versions/node/v8.12.0/bin/node
  npm                6.9.0        /Users/horg3r/.nvm/versions/node/v8.12.0/bin/npm
  yarn               1.15.2       /usr/local/bin/yarn

React Native
  react-native-cli   2.0.1
  app rn version     0.59.3

Ignite
  ignite             2.2.4            /usr/local/bin/ignite
  boilerplate        ignite-andross

Android
  java               1.8.0_192    /usr/bin/java
  android home       -            /Users/horg3r/Library/Android/sdk

iOS
  xcode              10.2
hunwalk commented 5 years ago

Okay, i've managed to repair this in my project. Check these out:

jamonholmgren commented 5 years ago

@HunWalk Would you want to submit a PR? Andross is in community support and we'd greatly appreciate it!

ryanlntn commented 5 years ago

Thanks @HunWalk!

MuhammadUsman786786 commented 5 years ago

Thanks @HunWalk