- react-router-dom's
<Link>
vs. react-router-bootstrap's<LinkContainer>
- the only difference is that
<LinkContainer>
allows us to wrap around bootstrap components
- the only difference is that
- i can access history's object properties using withRouter
- import { withRouter } from "react-router"
- you can access history object's properties with this HOC
- e.g. export default withRouter(App)
- had issue with a FC having 2 parameters—a function & history obj https://github.com/DefinitelyTyped/DefinitelyTyped/issues/17355
- Higher-Order Component (HOC)
- a function that takes a component and returns a new one
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)