What is difference between reactstrap and react-bootstrap?

I have been struggling with this myself and it is as @Besart Marku says, highly opinion based. One thing that did make a diffirence for me is that reactstraps documentation uses state in alot of its code examples: import React from ‘react’; import { Button, Modal, ModalHeader, ModalBody, ModalFooter } from ‘reactstrap’; class ModalExample extends … Read more

How to fix this error : ” Module not found :can’t resolve popper.js “

Popper.js is a dependency of Bootstrap 4 which is used for showing popups. It is a peer dependency of bootstrap meaning it is something that bootstrap requires but doesn’t include with itself when installed. So to install popper.js run npm install popper.js –save It is setup as a peer dependency because some people just use … Read more

React-Bootstrap link item in a navitem

Using LinkContainer from react-router-bootstrap is the way to go. The following code should work. import { Route, RouteHandler, Link } from ‘react-router’; import AuthService from ‘../services/AuthService’ import { Button, Nav, Navbar, NavDropdown, MenuItem, NavItem } from ‘react-bootstrap’; import { LinkContainer } from ‘react-router-bootstrap’; /// In the render() method <Nav pullRight> <LinkContainer to=”/home”> <NavItem eventKey={1}>Home</NavItem> </LinkContainer> … Read more