I read the documentation of reactstrap, and it guide us to install npm package as below;
npm install --save bootstrap
npm install --save reactstrap react react-dom
my question is, is it necessary to install react and react-dom, aren't those two packages are included by default in create-react-app?
Yes! it is included in node_modules by default when you use
npx create-react-app app-name
but you may also choose not to use it for some reason. Then you will need to install them and add your project starting files by yourself.