{"id":18895006,"url":"https://github.com/dolthub/react-library","last_synced_at":"2026-03-16T22:00:28.829Z","repository":{"id":217515748,"uuid":"726265493","full_name":"dolthub/react-library","owner":"dolthub","description":"A React library of general-use components, hooks, contexts, and utilities","archived":false,"fork":false,"pushed_at":"2025-05-29T23:28:40.000Z","size":2669,"stargazers_count":4,"open_issues_count":4,"forks_count":4,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-29T23:28:59.429Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/dolthub.png","metadata":{"files":{"readme":"README.dev.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2023-12-01T22:35:40.000Z","updated_at":"2025-05-29T23:28:42.000Z","dependencies_parsed_at":"2024-02-26T20:29:54.805Z","dependency_job_id":"36e3557f-7416-43da-81fc-45820667207e","html_url":"https://github.com/dolthub/react-library","commit_stats":null,"previous_names":["dolthub/react-library"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/dolthub/react-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolthub%2Freact-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolthub%2Freact-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolthub%2Freact-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolthub%2Freact-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dolthub","download_url":"https://codeload.github.com/dolthub/react-library/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolthub%2Freact-library/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260457171,"owners_count":23012251,"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-11-08T08:26:01.110Z","updated_at":"2026-03-16T22:00:28.824Z","avatar_url":"https://github.com/dolthub.png","language":"TypeScript","readme":"# Developer notes\n\n## Testing a package in a local app\n\nUsing [`yalc`](https://github.com/wclr/yalc) is the best way to test a library in another\nlocal package.\n\nFirst, choose a package to compile and build:\n\n```zsh\n% cd packages/hooks\nhooks % yarn dbuild\n```\n\nAnd publish to `yalc`:\n\n```zsh\n# If yalc is installed globally\nhooks % yalc publish\n# Using yarn script\nhooks % yarn yalc:publish\n```\n\nThen in your app, link to this package:\n\n```zsh\nother-app % yalc link @dolthub/react-hooks\n```\n\nAnd you will see and up-to-date version of the `react-hooks` package. When you make a\nchange to the package, you can push the change by running `yarn yalc:push` and you should\nsee it automatically reflected in your app.\n\nTo remove the yalc package in your app, run `yalc remove --all`.\n\n## Watch mode\n\nYou can use `yalc` to watch for changes in the `components` package and automatically push.\n\n1. In the root of `react-library`:\n\n```bash\nyarn \u0026\u0026 yarn dbuild\n```\n\n2. Publish the `components` package, in `packages/components`:\n\n```bash\nyarn yalc:publish\n```\n\n3. Link the local package in your app:\n\n```bash\nyarn yalc @dolthub/react-components\n```\n\n4. Start watch mode in `packages/components`:\n\n```bash\nyarn dbuild:watch\n```\n\n5. Make the changes, wait for the watch to finish building and pushing.\n\n6. Refresh the page in your browser to see the change.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdolthub%2Freact-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdolthub%2Freact-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdolthub%2Freact-library/lists"}