« first day (2337 days earlier)      last day (1765 days later) » 

 
2 hours later…
 
2 hours later…
4:19 AM
14 messages moved from GMTs
 
 
3 hours later…
 
1 hour later…
10:36 AM
can anyone please tell me is there anyway to get value from the redux store in a stateless/class less component.
By stateless/class less what i mean is that
I have created a file with all helper methods like this one

```
const HTTPRequest = (path, body, method = 'POST', authorizedToken = false) => {

<some code here>
if (authorizedToken) {
headers['Authorization'] = "JWT " + <Here i want to get token from redux store>;
}
}

export {HTTPRequest, <other methods>}
```
 
1 message moved from JavaScript
 
 
1 hour later…
 
1 hour later…
2:50 PM
var produto = document.getElementById('produto').value;
If(produto !empty){
//// add row
}
Right?
 
1 message moved from JavaScript
 
this is the same as if else right?
if (data) {
// do something
}
 
1 message moved from JavaScript
 
broad/should be paying a dev: stackoverflow.com/q/56670539
 
 
2 hours later…
 
2 hours later…
 
3 hours later…

« first day (2337 days earlier)      last day (1765 days later) »