{"id":26651692,"url":"https://github.com/dialectlabs/react","last_synced_at":"2025-04-09T18:18:28.247Z","repository":{"id":37076284,"uuid":"448763549","full_name":"dialectlabs/react","owner":"dialectlabs","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-14T15:03:45.000Z","size":6973,"stargazers_count":43,"open_issues_count":15,"forks_count":22,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T19:54:36.871Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://react-notifications-solana.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dialectlabs.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":"2022-01-17T05:22:00.000Z","updated_at":"2025-02-28T18:04:40.000Z","dependencies_parsed_at":"2023-02-10T10:31:31.696Z","dependency_job_id":"4982b5d0-0948-41b2-92de-571ef11af945","html_url":"https://github.com/dialectlabs/react","commit_stats":{"total_commits":812,"total_committers":21,"mean_commits":"38.666666666666664","dds":0.4766009852216748,"last_synced_commit":"1f1f44eace78236acfaf57a5cb35f939803a5e71"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialectlabs%2Freact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialectlabs%2Freact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialectlabs%2Freact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dialectlabs%2Freact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dialectlabs","download_url":"https://codeload.github.com/dialectlabs/react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247663037,"owners_count":20975347,"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":"2025-03-25T03:05:06.456Z","updated_at":"2025-04-09T18:18:28.227Z","avatar_url":"https://github.com/dialectlabs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Dialect](https://www.dialect.to/) React SDK \u0026 UI 💬 \n\n![react-sdk](https://img.shields.io/npm/v/@dialectlabs/react-sdk?color=success\u0026label=react-sdk) ![npm](https://img.shields.io/npm/v/@dialectlabs/react-ui?color=success\u0026label=react-ui) ![npm](https://img.shields.io/npm/v/@dialectlabs/react-sdk-blockchain-solana?color=success\u0026label=react-sdk-blockchain-solana) \n\nReact components to use Dialect's wallet alerts.\n\nWant to learn how to add Dialect to your dapp? See our [Docs](https://docs.dialect.to/).\n\n### Table of Contents\n\n- [Installation](#Installation)\n- [FAQ](#FAQ)\n- [Development](#Development)\n\n## Installation\n\n**npm:**\n\n```shell\nnpm install @dialectlabs/react-ui --save\n\nnpm install @dialectlabs/react-sdk-blockchain-solana --save\n```\n\n**yarn:**\n\n```shell\nyarn add @dialectlabs/react-ui\n\nyarn add @dialectlabs/react-sdk-blockchain-solana\n```\n\n## Development\n\n### Prerequisites\n\n- Git\n- yarn 1\n- Nodejs (\u003e=18)\n\n### Get Started\n\nThis repo utilizes [Workspaces](https://docs.npmjs.com/cli/v10/using-npm/workspaces). Publishable packages are located under `packages` directory. `examples` directory contains apps to demonstrate how can Dialect be used.\n\nThe simplest way to develop on Dialect's component library and headless react contexts locally is to run one of the demo apps in the `examples/` directory, and ensure you are targeting the local instances of `packages/react-sdk`, `packages/react-ui` and `packages/react-sdk-blockchain-solana`. How to best do this is described below.\n\nOnce set up, you'll have live, hot-reloading on changes. Some manual configuration is required to enable this.\n\n#### Enable hot-reloading from an `examples/` app\n\nChoose one of the `examples/` apps you'd like to do development from and then make the following changes in its source. For illustration purposes we choose `examples/notifications-solana`.\n\nFor example you want to make changes in `react-ui` library\n\nRun\n\n```shell\nyarn run dev:react-ui\n```\n\nAll of the above changes require restarting the next server and clearing cache (just in case), if you've already started it.\n\nYou can now run the example by following the instructions in the next section.\n\n#### Start the examples\n\nTo get started, launch example's next dev server:\n\n```shell\nyarn install # in root dir\ncd examples/notifications-solana\nyarn run dev\n```\n\nNow you have a hot reload of the packages in the workspace.\n\n### Publishing\n\n1. \n\n```shell\nyarn run build:all\npushd packages/react-sdk/\nnpm publish --access public\npopd\npushd packages/react-sdk-blockchain-solana/\nnpm publish --access public\npopd\npushd packages/react-ui/\nnpm publish --access public\npopd\n```\n\n2. Update all versions of packages to the new one(e.g. bump react, react-ui version in examples, starters folder)\n\n\nThis project is tested with BrowserStack.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdialectlabs%2Freact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdialectlabs%2Freact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdialectlabs%2Freact/lists"}