useOutletContext hook not working properly. sometime works and sometimes throw error
I’m passing some data to <Outlet />
and it works fine. Then receiving via useOutletContext
hook. Sometimes it gave me expected results, but sometime it gave me error.
Issue with useParams in React Router on iPhone Chrome Browser
I am experiencing an issue with useParams
in the latest version of React Router on the latest iPhone Chrome browser. The issue occurs intermittently and seems to affect the retrieval of route parameters.
Passing data between pages in React Router using the Action and Loaders
Using React Router 6, and the createBrowserRouter
method.
React app showing white blank page after build
I am using browser router for managing routes in my react app everything works perfect until I build the folder. when I build it, shows white blank page with no errors in console. I already added homepage route in packgae.json file still nothing happens, but when I use hash router instead of browser router everything works as expected but this is not good for production.
React: Using custom routes
I have inherited a project where i might have a URL that looks like this:http://localhost:8080/somepath/#react:prt1/prt2?param1=77
How to manage routes for react router and navigation bar in one place?
I want to manage all routes of my react app in one place. I need these routes to be added to router and to navigation bar.
Props are not available when accessing React Router link
When I start the app on localhost, then the props are available after I access an URL which is defined by React Router.
But when I deploy the app, the props are not available and therefore the page is empty.
Do you know, please, what can be the reason for such behavior?
Regarding the issue of React page routing
My page is like this: configure routing in the startup component
React router problem url not found in the server host but find in the localhost (“Not found”)
When I test my web locally with the API which is on the server everything works and I have access to my link but when I put my website after a build on the server and I want to access the url it says “Not found”
React Router Interfering with Backend Routes
I’m having an issue with React Router where I can’t access certain backend pages using the browser. I’m using react: “18.3.1” and react-router: “6.23.1”