Access the Redux Store Outside a React Component

added by JavaScript Kicks
2/26/2019 9:10:23 PM

574 Views

Need to access your Redux store outside a React component? It's a bit ironic, on some level... a global store of data, but no way to access it! The React Redux connect function works great for regular React components, but if you need access to the Redux store in a plain function, the technique is a bit different.


0 comments