We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have to use the loader in Sagas in a react native application. can you please suggest
The text was updated successfully, but these errors were encountered:
Bind it to global redux store. This is how I use it:
in RootContainer
class RootContainer extends Component<Props> { render () { return ( <MenuContext > <View style={styles.applicationView}> <ReduxNavigation /> <Spinner overlayColor={'rgba(0,0,0,0.7)'} visible={this.props.fetching} size='large' textContent='Loading' textStyle={{color: '#FFF'}} /> </View> </MenuContext> ) } } const getFetching = (state : State) : boolean => { if (state.login && state.login.fetching) { return true } if (state.userUpdate && state.userUpdate.fetching) { return true } if (state.userRegister && state.userRegister.fetching) { return true } ... return false } const mapStateToProps = (state) : Props => { return { fetching: getFetching(state), } }
Sorry, something went wrong.
No branches or pull requests
I have to use the loader in Sagas in a react native application. can you please suggest
The text was updated successfully, but these errors were encountered: