{"id":51691505,"url":"https://github.com/devjubayr/react_router_tutorial","last_synced_at":"2026-07-16T02:34:28.701Z","repository":{"id":317638823,"uuid":"1067032093","full_name":"devjubayr/react_router_tutorial","owner":"devjubayr","description":null,"archived":false,"fork":false,"pushed_at":"2025-10-03T04:59:45.000Z","size":39,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-16T02:34:20.496Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/devjubayr.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-30T09:40:09.000Z","updated_at":"2026-07-08T12:39:18.000Z","dependencies_parsed_at":"2025-10-02T05:43:53.066Z","dependency_job_id":"e63254df-138c-4781-b8f1-d01e72697b01","html_url":"https://github.com/devjubayr/react_router_tutorial","commit_stats":null,"previous_names":["crosbow/react_router_tutorial","devjubayr/react_router_tutorial"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devjubayr/react_router_tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjubayr%2Freact_router_tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjubayr%2Freact_router_tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjubayr%2Freact_router_tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjubayr%2Freact_router_tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devjubayr","download_url":"https://codeload.github.com/devjubayr/react_router_tutorial/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devjubayr%2Freact_router_tutorial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35528482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-16T02:00:06.687Z","response_time":83,"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":[],"created_at":"2026-07-16T02:34:27.964Z","updated_at":"2026-07-16T02:34:28.685Z","avatar_url":"https://github.com/devjubayr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React router Tutorial Nodes\n\n- This repository show what I learned from react router official tutorial.\n- I've added what I learned from the tutorial.\n\n[React Router v6 tutorial](https://reactrouter.com/6.30.1/start/tutorial)\n\n## Important hooks\n\n- **useRouteError:** useRouteError provides the error that was thrown. When the user navigates to routes that don't exist you'll get an error response with a \"Not Found\" statusText.\n\n- **Form:** Unlike HTML form, react router form also work same but use client side routing.\n  Props:\n  1.  _method_: \"post\", \"put\", \"patch\"\n  2.  id:\n  3.  _action_: \"destroy\" (this point to destroy like a link path to=\"destroy\")\n- **redirect:** to redirect from anywhere, Note that **useNavigate** only use in component and hooks\n- **useNavigation:** to add global pending UI. _useNavigation returns the current navigation state: it can be one of \"idle\" | \"submitting\" | \"loading\"_\n\n\u003cpre\u003e\ndiv start\n  className={\n    navigation.state === \"loading\" ? \"loading\" : \"\"\n  }\n  {Outlet here} \ndiv close \"\n\u003c/pre\u003e\n\n**useFetcher:** allows us to communicate with loaders and actions without causing a navigation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevjubayr%2Freact_router_tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevjubayr%2Freact_router_tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevjubayr%2Freact_router_tutorial/lists"}