{"id":20604808,"url":"https://github.com/themost-framework/react","last_synced_at":"2026-05-17T00:55:28.381Z","repository":{"id":52654680,"uuid":"209233845","full_name":"themost-framework/react","owner":"themost-framework","description":"MOST Web Framework client module for react","archived":false,"fork":false,"pushed_at":"2024-01-27T07:16:20.000Z","size":2850,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-16T03:34:17.383Z","etag":null,"topics":["api","api-client","client","react"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/themost-framework.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-18T06:25:14.000Z","updated_at":"2023-02-22T13:37:15.000Z","dependencies_parsed_at":"2024-10-25T20:10:08.763Z","dependency_job_id":"cf02ebe9-2f13-4783-bb4a-3b372c94905b","html_url":"https://github.com/themost-framework/react","commit_stats":null,"previous_names":["themost-framework/themost-react"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/themost-framework/react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Freact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Freact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Freact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Freact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/themost-framework","download_url":"https://codeload.github.com/themost-framework/react/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Freact/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271299805,"owners_count":24735421,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","api-client","client","react"],"created_at":"2024-11-16T09:24:55.660Z","updated_at":"2026-05-17T00:55:28.340Z","avatar_url":"https://github.com/themost-framework.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @themost/react\n\n![MOST Web Framework Logo](https://github.com/themost-framework/common/raw/master/docs/img/themost_framework_v3_128.png)\n\n\u003e [@themost-framework](https://github.com/themost-framework/) client library for react based on [@themost/client](https://github.com/themost-framework/client)\n\n[![NPM](https://img.shields.io/npm/v/@themost%2Fnode.svg)](https://www.npmjs.com/package/@themost/react) ![GitHub top language](https://img.shields.io/github/languages/top/themost-framework/react) [![License](https://img.shields.io/npm/l/@themost/react)](https://github.com/themost-framework/react/blob/master/LICENSE) ![GitHub last commit](https://img.shields.io/github/last-commit/themost-framework/react) ![GitHub Release Date](https://img.shields.io/github/release-date/themost-framework/react)\n\n## Install\n\n```bash\nnpm install --save @themost/react\n```\n\n## Usage\n\nCreate application data context\n\n```tsx\nimport React from 'react'\nimport { ReactDataContext } from '@themost/react'\nexport const context = React.createContext(new ReactDataContext('http://api.example.com/api/'))\n```\n\nwhere `new ReactDataContext(string)` is being used for defining the remote api server\n\nand use context in any component e.g.\n\n```tsx\nimport React from 'react'\nimport { context } from './context'\n\ninterface CustomersState {\n  items: any[]\n}\n\nexport default class Customers extends React.Component\u003c{}, CustomersState\u003e {\n  constructor(props: any) {\n    super(props)\n    this.state = { items: [] }\n  }\n\n  componentDidMount() {\n    context\n        .model('People')\n        .asQueryable()\n        .getItems()\n        .then((items) =\u003e {\n          this.setState({\n            items\n          })\n        })\n  }\n\n  render() {\n    return (\n      \u003c\u003e\n        ...\n      \u003c/\u003e\n    )\n  }\n}\n```\n\n## License\n\nBSD-3-Clause © [THEMOST LP](License)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemost-framework%2Freact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthemost-framework%2Freact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemost-framework%2Freact/lists"}