{"id":33802913,"url":"https://github.com/procw/react-router-v6","last_synced_at":"2026-04-18T08:02:07.224Z","repository":{"id":41140448,"uuid":"508402477","full_name":"procw/React-router-v6","owner":"procw","description":"tested the React-router lastest version 6 in codeSandbox","archived":false,"fork":false,"pushed_at":"2022-06-28T20:28:10.000Z","size":370,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-09T23:36:16.964Z","etag":null,"topics":["axios-react","browserrouter","goback","react","react-router-dom-v6","react-router-v6","refresh","sample-code","usenavigate"],"latest_commit_sha":null,"homepage":"https://codesandbox.io/s/react-router-v6-new-81moov","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/procw.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-28T17:54:56.000Z","updated_at":"2023-03-30T21:38:49.000Z","dependencies_parsed_at":"2022-09-09T02:30:24.737Z","dependency_job_id":null,"html_url":"https://github.com/procw/React-router-v6","commit_stats":null,"previous_names":["softwareengineer0/react-router-v6","3d-dev/react-router-v6","procw/react-router-v6"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/procw/React-router-v6","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/procw%2FReact-router-v6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/procw%2FReact-router-v6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/procw%2FReact-router-v6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/procw%2FReact-router-v6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/procw","download_url":"https://codeload.github.com/procw/React-router-v6/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/procw%2FReact-router-v6/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31961348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["axios-react","browserrouter","goback","react","react-router-dom-v6","react-router-v6","refresh","sample-code","usenavigate"],"created_at":"2025-12-06T08:02:25.646Z","updated_at":"2026-04-18T08:02:07.215Z","avatar_url":"https://github.com/procw.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React-Router-V6 \u0026 useNavigate \u0026 BrowserRouter \u0026 Axios\n\n## Installing\n```js\nnpm install\n```\n\n## add the following import statement:\n```js\nimport { BrowserRouter,Route,Routes } from 'react-router-dom';\n```\n\n## \u003cRoute element\u003e\n```js\n\u003cRoute path=\"/\" element={\u003cUsers /\u003e} /\u003e\n\u003cRoute path=\"/detail/:id\" exact element={\u003cUserDetail /\u003e} /\u003e\n```\n\n## implemented the module of geting *json data from url using axios\n```js\n  const fetchData = async () =\u003e {\n    let response = await axios.get(\n      \"https://jsonplaceholder.typicode.com/posts/1/comments\"\n    );\n    if (response.status === 200) {\n      setUsers(response.data);\n    }\n  };\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprocw%2Freact-router-v6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprocw%2Freact-router-v6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprocw%2Freact-router-v6/lists"}