{"id":16471837,"url":"https://github.com/abranhe/react-redirector","last_synced_at":"2026-04-19T17:01:55.786Z","repository":{"id":57343155,"uuid":"167096423","full_name":"abranhe/react-redirector","owner":"abranhe","description":"\u003cRedirector/\u003e Component: Redirect to a URL using React","archived":false,"fork":false,"pushed_at":"2019-12-13T21:40:32.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-21T06:44:34.327Z","etag":null,"topics":["react","react-redirect","react-redirector","redirect","redirector"],"latest_commit_sha":null,"homepage":"https://p.abranhe.com/react-redirector","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abranhe.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"patreon":"abranhe","open_collective":"abranhe","custom":"https://cash.me/$abranhe"}},"created_at":"2019-01-23T01:38:12.000Z","updated_at":"2024-07-29T15:55:50.000Z","dependencies_parsed_at":"2022-09-12T07:00:16.459Z","dependency_job_id":null,"html_url":"https://github.com/abranhe/react-redirector","commit_stats":null,"previous_names":["abranhe/react-redirector","abrahamhba/react-redirector"],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Freact-redirector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Freact-redirector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Freact-redirector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abranhe%2Freact-redirector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abranhe","download_url":"https://codeload.github.com/abranhe/react-redirector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":256761128,"owners_count":22438500,"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":["react","react-redirect","react-redirector","redirect","redirector"],"created_at":"2024-10-11T12:14:55.613Z","updated_at":"2026-04-19T17:01:50.749Z","avatar_url":"https://github.com/abranhe.png","language":"JavaScript","funding_links":["https://patreon.com/abranhe","https://opencollective.com/abranhe","https://cash.me/$abranhe"],"categories":[],"sub_categories":[],"readme":"# react-redirector [![Build Status](https://github.com/abranhe/react-redirector/workflows/Publish/badge.svg)](https://github.com/abranhe/react-redirector/actions) [![](https://img.shields.io/npm/v/react-redirector.svg)](https://npmjs.com/package/react-redirector)\n\n\u003e Redirect to a URL using React\n\n## Install\n\n```\n$ npm install react-redirector\n```\n\n## Usage\n\n```jsx\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport Redirector from 'react-redirector';\n\nconst App = () =\u003e \u003cRedirector to='https://abranhe.com'/\u003e;\n\nReactDOM.render(\u003cApp/\u003e, document.getElementById('root'));\n```\n\n## API\n\n### `\u003cRedirector/\u003e` \n\nRedirect to a URL, extends `window.location`.\n\n### Props\n\n`to`: Location to redirect the page.\n\n## License\n\n[MIT][license] License © [Carlos Abraham][abranhe]\n\n\u003c!-------------------- Links ------------------------\u003e\n[abranhe]: https://github.com/abranhe\n[license]: https://github.com/abranhe/react-redirector/blob/master/license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabranhe%2Freact-redirector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabranhe%2Freact-redirector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabranhe%2Freact-redirector/lists"}