How to use data toggle collapse in Reactjs with Bootstrap?

Posted by Prem Tiwari | Updated on

Bootstrap menu toggle is a JS functionality, it’s not a good idea to mix the JS part of Bootstrap with ReactJS, since both libraries manipulate the DOM and it can lead to bigger problems.

I suggest implementing the small functionality you need, most of the menu toggle is just a class toggle thing.


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