{"id":17349187,"url":"https://github.com/co2-git/reactors-router","last_synced_at":"2026-01-21T16:01:47.347Z","repository":{"id":68259649,"uuid":"61961079","full_name":"co2-git/reactors-router","owner":"co2-git","description":"Router for reactors","archived":false,"fork":false,"pushed_at":"2018-01-11T06:31:09.000Z","size":126,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T12:24:57.461Z","etag":null,"topics":["reactors","router"],"latest_commit_sha":null,"homepage":"","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/co2-git.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2016-06-25T20:49:22.000Z","updated_at":"2017-02-13T18:42:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"a8f52678-3c37-499e-915c-97c0ff92a32c","html_url":"https://github.com/co2-git/reactors-router","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/co2-git/reactors-router","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/co2-git%2Freactors-router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/co2-git%2Freactors-router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/co2-git%2Freactors-router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/co2-git%2Freactors-router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/co2-git","download_url":"https://codeload.github.com/co2-git/reactors-router/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/co2-git%2Freactors-router/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28635926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T15:01:31.228Z","status":"ssl_error","status_checked_at":"2026-01-21T14:42:58.942Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["reactors","router"],"created_at":"2024-10-15T16:55:00.576Z","updated_at":"2026-01-21T16:01:47.324Z","avatar_url":"https://github.com/co2-git.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"reactors-router\n===\n\nRouter for the [Reactors](https://github.com/co2-git/reactors) framework.\n\nReactors is a framework based on React to build hybrid apps that run web, mobile and desktop.\n\n# Install\n\n```bash\nyarn add react reactors reactors-router\n```\n\n# Usage\n\n```jsx\nimport React from 'react';\nimport Router from 'reactors-router';\nimport {View, Text} from 'reactors';\n\nexport default function App() {\n  return (\n    \u003cRouter name=\"main\" width={400} height={500}\u003e\n      \u003cRouter.Route name=\"page-a\"\u003e\n        \u003cView\u003e\n          \u003cText\u003ePage A\u003c/Text\u003e\n          \u003cText onPress={() =\u003e Router.get('main').go('page-b')}\u003eGo to page B\u003c/Text\u003e\n        \u003c/View\u003e\n      \u003c/Router.Route\u003e\n      \u003cRouter.Route name=\"page-b\"\u003e\n        \u003cView\u003e\n          \u003cText\u003ePage B\u003c/Text\u003e\n          \u003cText onPress={() =\u003e Router.get('main').go('page-a')}\u003eGo to page A\u003c/Text\u003e\n        \u003c/View\u003e\n      \u003c/Router.Route\u003e\n    \u003c/Router\u003e\n  );\n}\n```\n\nYou can have as many routers as you want (included nested), provided you give them a name.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fco2-git%2Freactors-router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fco2-git%2Freactors-router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fco2-git%2Freactors-router/lists"}