How to make a Bootstrap dropdown with React?

Posted by Rohit Kumar | Updated on

If you want to create a Bootstrap dropdown with React You can use react bootstrap makes working with react & bootstrap a bit easier:

This looks about the same, but has event-handlers & adds all the right classes. As @sophie-alpert said, though, render must return a single DOM parent element.


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