redux-saga-example | a example to use redux-saga as the middleware | State Container library
kandi X-RAY | redux-saga-example Summary
kandi X-RAY | redux-saga-example Summary
a example to use redux-saga as the middleware of redux
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of redux-saga-example
redux-saga-example Key Features
redux-saga-example Examples and Code Snippets
Community Discussions
Trending Discussions on redux-saga-example
QUESTION
In App.js file there is a button component. I am calling hi function onclick event. In this event, I want to use redux saga to call sayHello();
if I am using sayHello directly on button click event, code works fine. But my requirement is call it in an other function. Below is the entire file for reference.Appreciate your help.
...ANSWER
Answered 2019-Nov-20 at 02:48You should defined ur function in your component scope.
Because the function SayHello
is defined in props
.
Just like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install redux-saga-example
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page