{"id":21404761,"url":"https://github.com/fakundo/react-router-transition-group","last_synced_at":"2025-03-16T16:48:45.762Z","repository":{"id":57144048,"uuid":"127639219","full_name":"fakundo/react-router-transition-group","owner":"fakundo","description":null,"archived":false,"fork":false,"pushed_at":"2019-02-28T13:57:12.000Z","size":379,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T19:47:15.246Z","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/fakundo.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":"2018-04-01T14:58:22.000Z","updated_at":"2019-02-28T13:57:13.000Z","dependencies_parsed_at":"2022-09-05T12:31:28.406Z","dependency_job_id":null,"html_url":"https://github.com/fakundo/react-router-transition-group","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fakundo%2Freact-router-transition-group","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fakundo%2Freact-router-transition-group/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fakundo%2Freact-router-transition-group/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fakundo%2Freact-router-transition-group/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fakundo","download_url":"https://codeload.github.com/fakundo/react-router-transition-group/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243902291,"owners_count":20366259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-22T16:18:00.249Z","updated_at":"2025-03-16T16:48:45.739Z","avatar_url":"https://github.com/fakundo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-router-transition-group\n\n[![npm](https://img.shields.io/npm/v/react-router-transition-group.svg)](https://www.npmjs.com/package/react-router-transition-group)\n\nTransitions for react-router.\n\n## Installation\n\n```\nnpm install react-router-transition-group\n```\n\n## Demo\n\n[Demo](https://fakundo.github.io/react-router-transition-group/)\n/\n[Source](https://github.com/fakundo/react-router-transition-group/tree/master/examples)\n\n## Usage\n\n- Add `transition` property to `Switch` component\n- You also can override `transition` for each `Route` component\n- `transition` is a Transition component from `react-transition-group`\n- To disable transitions between some routes, you can group them by passing the same `transitionKey` property to `Route` component\n\n```javascript\nimport React from 'react'\nimport { Route } from 'react-router-dom'\nimport { Switch } from 'react-router-transition-group'\n\nimport MyTransition from 'components/MyTransition'\nimport HomePage from 'components/HomePage'\nimport NotFoundPage from 'components/NotFoundPage'\n\nexport default () =\u003e (\n  \u003cSwitch transition={MyTransition} component={Fragment} exit\u003e\n    \u003cRoute exact path=\"/\" component={HomePage} /\u003e\n    \u003cRoute component={NotFoundPage} /\u003e\n  \u003c/Switch\u003e\n)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffakundo%2Freact-router-transition-group","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffakundo%2Freact-router-transition-group","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffakundo%2Freact-router-transition-group/lists"}