How to show/hide component on click in React-redux?

Posted by Ramesh Singh | Updated on |

You should add some flag to the state of CommentBox. And if value of this flag is false when don’t show ReaplyFrom and vice versa.

Heres the code and working example:

http://codepen.io/anon/pen/KzrzQZ


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