Sometimes, we want to fix the “Cannot read property ‘push’ of undefined” error with React…
Coding
Sometimes, we want to use useNavigate passing value to another component with react-router-dom v6. In…
Sometimes, we want to test components using React Router hooks with Jest. In this article,…
Sometimes, we want to detect previous path in React Router. In this article, we’ll look…
Sometimes, we want to add multiple parameters with React Router. In this article, we’ll look…
Sometimes, we want to navigate programmatically in React Router v4. In this article, we’ll look…
Sometimes, we want to add an active class to a Link from React Router. In…
Sometimes, we want to fix onEnter not called in React Router. In this article, we’ll…
Sometimes, we want to target active link when the route is active in Next.js. In…
Sometimes, we want to use multiple layouts with React Router v4. In this article, we’ll…