score:2
Accepted answer
The 2nd link click is cause to hard reload the page. When you click on the 2nd time you can see the spinning icon on the browser tab.
Can you try to define your links like this ?
<Link href='/categories/[slug]' as="/categories/wordpress">
<a>wordpress</a>
</Link>
Source: stackoverflow.com
Related Query
- loading indicator does not show when the page route changes
- React leaflet center attribute does not change when the center state changes
- React router is not reloading page when url matches the same route
- React Router v5: history.push() changes the address bar, but does not change the page
- useEffect does not re-run when the params changes
- <Link> only changes the url when click but not the components and the page
- Why does my img show up when I hardcode the src URL, but not when I assign it programmatically?
- Why does my react app go to the custom 404 not found page when the link is clicked?
- in react when I remove a dynamic input, the input does not show the right value on the browser
- My page is not refreshing when i use history.push even though the URL changes
- React Select does not show the value when selected
- React Query return undefined data while in network tab the data exists but it does not show on the page
- React: When does not the count value changes in setInterval?
- How to add additional information when the url changes but not replacing the entire page in Next.js
- while building infinite loading via API in REACT , the page number is not updating in console even when i scroll down a lot
- setState does not set the state properly, when dropdown values changes
- How can i connect redux with localStorage so that when updating the like on the page does not disappear
- Aos animation does not work when i refresh the page
- Does not show API fetch response data in the page - React Redux
- The root path "/" does not match the reactjs declared route on server side rendering, when webpack middleware is used
- React does not re-render component when the state changes
- How to show loading indicator for 5 seconds when I click the submit button in react?
- What is the best way to show loading screen on every components when component is not fully rendered WITHOUT REPEATING CODES
- The links do not render the components of ReactJS. The URL changes but the page does not?
- When the login button is clicked, the url is changed, but it does not go to the login page
- NextJS Videos not loading without a page refresh when the page is accessed via a link
- React does not show the image when is uploaded
- React Router changes route but does not render the component
- While using Route the site is not loading , when i am wrapping inside BroswerRoute only its working
- React router routes in route not working . When I type /signUp, I can't get anything on the page
More Query from same tag
- Extract selected value from a dropdown in REACT
- ReactJS: How to host my single-page app in a different directory than root folder?
- How to change the state in reactjs
- how do i set a condition on an onSubmit
- Webpack fails to transpile CRA app, trying to import firebase from URL
- react-spring and framer-motion laggy on firefox
- Angular 2+ , Router navigates to destinated route but wont load component
- Material UI Tree View, check if the node i click has children
- Pass the current state of parent component to children through props
- react-intl currency displayed without decimals
- How do you embed and call an external javascript function in a react component?
- Issues with exporting bootstrap modal
- Binding element 'x' implicitly has an 'any' type
- How to use getAttribute in react?
- destructuring object to an array?
- How to pass props to react component through routing using react-router?
- Set default value of dropdown in React
- How to make reusable proptype validations?
- Displaying actual land area on map
- react parent not re-rendering child despite state change
- Adding color to html element based on string
- Passing more values under same prop name and test it with Jest
- Recharts line chart cut off top line
- Implement lazy loading in nested routes
- How to implement Broadcast Channel API in React
- How can i access the multibrands.legKey property of this json object
- VS2019 how to restart npm that's automatically started on local build
- React native call function in text element
- Handle multiple datepicker in reactjs
- Show search results from api call - only showing in Console - React