{"id":4388,"url":"https://github.com/thewei/react-native-navigator","last_synced_at":"2025-07-31T13:31:01.483Z","repository":{"id":74224708,"uuid":"42384225","full_name":"thewei/react-native-navigator","owner":"thewei","description":"**[DEPRECATED]** A simple router for react native","archived":true,"fork":false,"pushed_at":"2018-10-03T12:10:40.000Z","size":131,"stargazers_count":74,"open_issues_count":3,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-02T02:15:48.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/thewei/react-native-navigator","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thewei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-09-13T04:53:44.000Z","updated_at":"2024-05-15T15:21:57.000Z","dependencies_parsed_at":"2024-01-27T01:29:58.889Z","dependency_job_id":null,"html_url":"https://github.com/thewei/react-native-navigator","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/thewei%2Freact-native-navigator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewei%2Freact-native-navigator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewei%2Freact-native-navigator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thewei%2Freact-native-navigator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thewei","download_url":"https://codeload.github.com/thewei/react-native-navigator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228248579,"owners_count":17891447,"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-01-05T20:17:10.357Z","updated_at":"2024-12-05T06:31:41.746Z","avatar_url":"https://github.com/thewei.png","language":"JavaScript","readme":"# react-native-navigator\n[![Build Status](https://travis-ci.org/thewei/react-native-navigator.svg?branch=master)](https://travis-ci.org/thewei/react-native-navigator)\n[![npm version](https://badge.fury.io/js/react-native-navigator.svg)](http://badge.fury.io/js/react-native-navigator)\n[![NPM downloads](http://img.shields.io/npm/dm/react-native-navigator.svg?style=flat-square)](https://npmjs.org/package/react-native-navigator)\n\nA web like router for ReactNative\n\n## Installation\n\n```bash\n$ npm install react-native-navigator --save\n```\n\n## Example\n\nindex.ios.js:\n```javascript\n'use strict';\n\nimport React from 'react-native';\nimport App from './src/app';\n\nReact.AppRegistry.registerComponent('Example', () =\u003e App);\n```\n\napp.js:\n```javascript\nimport React from 'react-native';\nimport Navigator from 'react-native-navigator';\nconst {\n\tRouter,\n\tRoute\n} = Navigator;\n\nimport IndexPage from './pages/IndexPage';\nimport DocPage from './pages/DocPage';\nimport DocSection from './pages/DocSection';\nimport BreadcrumbNavSample from './pages/BreadcrumbNavSample';\nimport NavigationBarSample from './pages/NavigationBarSample';\nimport JumpingNavSample from './pages/JumpingNavSample';\nimport NavSimpleExample from './pages/NavSimpleExample';\n\n// Support params and query\nexport default class App extends React.Component{\n  render() {\n    return (\n      \u003cRouter component={IndexPage} \u003e\n      \t\u003cRoute path=\"/example/navbar-sample\" component={NavigationBarSample} /\u003e\n      \t\u003cRoute path=\"/example/jumping-nav-sample\" component={JumpingNavSample} /\u003e\n      \t\u003cRoute path=\"/example/breadcrumb-nav-sample\" component={BreadcrumbNavSample} /\u003e\n      \t\u003cRoute path=\"/example/nav-simple-example\" component={NavSimpleExample} /\u003e\n      \t\u003cRoute path=\"/doc/:id\" component={DocSection} /\u003e\n      \u003c/Router\u003e\n    );\n  }\n};\n\nexport default App;\n```\nmore example pleace checkout the example: `Example/index.ios.js`\n\n## API\n- LinkTo( path, props )\n- Back()\n\n## Contributing\n- Fork this Repo first\n- Clone your Repo\n- Install dependencies by `$ npm install`\n- Checkout a feature branch\n- Feel free to add your features\n- Make sure your features are fully tested\n- Publish your local branch, Open a pull request\n- Enjoy hacking \u003c3\n","funding_links":[],"categories":["Components"],"sub_categories":["Navigation","UI"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthewei%2Freact-native-navigator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthewei%2Freact-native-navigator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthewei%2Freact-native-navigator/lists"}