Why is it not ideal to import react-bootstrap using destructuring

Viewed 844
1 Answers

In the first case you are only importing the code for that particular component.

In the second case you are importing the whole library and inserting only a particular component into the current scope.

Related