The documentation page suggests to only import the components needed. There are 2 examples given here https://react-bootstrap.netlify.com/getting-started/introduction#importing:
import Button from 'react-bootstrap/lib/Button';
// or less ideally
import { Button } from 'react-bootstrap';
What makes the 2nd method 'less ideal'?