{"id":15043028,"url":"https://github.com/co2-git/reactors","last_synced_at":"2025-07-04T12:33:04.158Z","repository":{"id":57348417,"uuid":"60499580","full_name":"co2-git/reactors","owner":"co2-git","description":"View components and APIs that work web, mobile and native!","archived":false,"fork":false,"pushed_at":"2018-01-20T00:42:24.000Z","size":467,"stargazers_count":14,"open_issues_count":11,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T20:57:59.237Z","etag":null,"topics":["android","desktop","electron","html5","ios","linux","osx","react","react-native","reactors","web","windows"],"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}},"created_at":"2016-06-06T04:58:13.000Z","updated_at":"2018-04-18T14:02:46.000Z","dependencies_parsed_at":"2022-08-31T18:01:09.873Z","dependency_job_id":null,"html_url":"https://github.com/co2-git/reactors","commit_stats":null,"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/co2-git/reactors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/co2-git%2Freactors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/co2-git%2Freactors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/co2-git%2Freactors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/co2-git%2Freactors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/co2-git","download_url":"https://codeload.github.com/co2-git/reactors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/co2-git%2Freactors/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263542084,"owners_count":23477454,"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":["android","desktop","electron","html5","ios","linux","osx","react","react-native","reactors","web","windows"],"created_at":"2024-09-24T20:48:28.660Z","updated_at":"2025-07-04T12:33:04.133Z","avatar_url":"https://github.com/co2-git.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"reactors\n===\n\n\u003cimg src=\"https://circleci.com/gh/co2-git/reactors.svg?style=shield\u0026circle-token=4165dcefbcf62c4553fe9ce863fcd5ac93fa9a95\" /\u003e\n[![npm version](https://badge.fury.io/js/reactors.svg)](https://badge.fury.io/js/reactors)\n[![GitHub version](https://badge.fury.io/gh/co2-git%2Freactors.png)](https://badge.fury.io/gh/co2-git%2Freactors)\n\n===\n\nFramework based on [React](https://facebook.github.io/react/) to build cross-platform apps that run web, mobile and desktop.\n\n**To create and run reactors apps, see [reactors-cli](https://github.com/co2-git/reactors-cli)**\n\n# Install\n\n```bash\nnpm install reactors\n```\n\n# Usage\n\n```javascript\nimport React from 'react';\nimport {\n  ListView,\n  Text,\n  View,\n} from 'reactors';\n\nexport default function MyAwesomeComponent() {\n  return (\n    \u003cView\u003e\n      \u003cText style={{fontWeight: 'bold'}}\u003eOne code to rule them all:\u003c/Text\u003e\n      \u003cListView\n        dataSource={[\n          'Android',\n          'iPhone and iPad',\n          'Mac OSX',\n          'Ubuntu and Linux',\n          'Web browser',\n          'Windows 10',\n        ]}\n        renderRow={(platform) =\u003e \u003cText\u003e{platform}\u003c/Text\u003e}\n        /\u003e\n    \u003c/View\u003e\n  );\n}\n```\n\nView a detailed example [here](https://github.com/co2-git/reactors-cli/blob/master/templates/app/App.js).\n\n# Core Components\n\n- [Image](doc/Components/Image.md)\n- [ListView](doc/Components/ListView.md)\n- [Link](doc/Components/Link.md)\n- [ScrollView](doc/Components/ScrollView.md)\n- [Text](doc/Components/Text.md)\n- [View](doc/Components/View.md)\n\n# Core APIs\n\n- [Core](doc/API/Core.md)\n- [Dimensions](doc/API/Dimensions.md)\n- [Gesture](doc/API/Gesture.md)\n- [Notifications](doc/Components/Notifications.md)\n- [Storage](doc/API/Storage.md)\n- [StyleSheet](doc/API/StyleSheet.md)\n\n# Platform dependent code\n\nYou can code for a specific platform:\n\n```javascript\nswitch (Reactors.platform) {\ncase 'mobile':\n  // ...\n  break;\ncase 'web':\n  // ...\n  break;\ncase 'desktop':\n  // ...\n  break;\n}\n```\n\n# Plugins\n\nCheck out Reactors plugin in the `npm` registry. Look for packages starting by `reactors-`.\n\nSome plugins:\n\n- [reactors-file-dialog](https://www.npmjs.com/package/reactors-file-dialog)\n- [reactors-form](https://www.npmjs.com/package/reactors-form)\n- [reactors-grid](https://www.npmjs.com/package/reactors-grid)\n- [reactors-http-request](https://www.npmjs.com/package/reactors-http-request)\n- [reactors-router](https://www.npmjs.com/package/reactors-router)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fco2-git%2Freactors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fco2-git%2Freactors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fco2-git%2Freactors/lists"}