How to access Redux store outside a component?

Posted by Prem Tiwari | Updated on

How to access Redux store outside a component?

You just need to export the store from the module where it created with createStore(). Also, it shouldn’t pollute the global window object.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers