{"id":22454360,"url":"https://github.com/littensy/pretty-react-hooks","last_synced_at":"2025-04-07T12:09:00.717Z","repository":{"id":153941135,"uuid":"630281524","full_name":"littensy/pretty-react-hooks","owner":"littensy","description":"💐 A collection of useful hooks for roblox-ts and React","archived":false,"fork":false,"pushed_at":"2025-02-09T09:55:45.000Z","size":291,"stargazers_count":32,"open_issues_count":3,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T09:08:18.031Z","etag":null,"topics":["react","roblox","roblox-ts","typescript"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/@rbxts/pretty-react-hooks","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/littensy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-04-20T03:43:41.000Z","updated_at":"2025-02-26T20:39:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"1386d8d5-b7a8-4e19-aea0-0aa2a6994852","html_url":"https://github.com/littensy/pretty-react-hooks","commit_stats":{"total_commits":115,"total_committers":7,"mean_commits":"16.428571428571427","dds":0.09565217391304348,"last_synced_commit":"e47ffc6b499a75aee0c5e5641996a58edbf3acdb"},"previous_names":["littensy/pretty-react-hooks","littensy/pretty-roact-hooks"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littensy%2Fpretty-react-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littensy%2Fpretty-react-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littensy%2Fpretty-react-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littensy%2Fpretty-react-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/littensy","download_url":"https://codeload.github.com/littensy/pretty-react-hooks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648978,"owners_count":20972945,"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":["react","roblox","roblox-ts","typescript"],"created_at":"2024-12-06T07:07:31.736Z","updated_at":"2025-04-07T12:09:00.692Z","avatar_url":"https://github.com/littensy.png","language":"TypeScript","readme":"## 🌺 [pretty-react-hooks](https://npmjs.com/package/@rbxts/pretty-react-hooks)\n\n![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/littensy/pretty-react-hooks/ci.yml?branch=master\u0026style=for-the-badge\u0026logo=github)\n[![npm version](https://img.shields.io/npm/v/@rbxts/pretty-react-hooks.svg?style=for-the-badge\u0026logo=npm)](https://www.npmjs.com/package/@rbxts/pretty-react-hooks)\n[![npm downloads](https://img.shields.io/npm/dt/@rbxts/pretty-react-hooks.svg?style=for-the-badge\u0026logo=npm)](https://www.npmjs.com/package/@rbxts/pretty-react-hooks)\n[![GitHub license](https://img.shields.io/github/license/littensy/pretty-react-hooks?style=for-the-badge)](LICENSE.md)\n\nAn opinionated collection of useful hooks and utilites for [React](https://github.com/littensy/rbxts-react) in [roblox-ts](https://roblox-ts.com).\n\nIf you find a bug or have a feature request, please [open an issue](https://github.com/littensy/pretty-react-hooks/issues/new/).\n\n\u0026nbsp;\n\n## ⭐ Featured\n\nCheck out some featured hooks:\n\n-   [🦾 `useMotor`](src/use-motor/) - Creates a motor and returns a binding, a function to set the goal, and a motor API\n-   [⏱️ `useAsync`](src/use-async/) - A hook that runs an async function and returns the result and status\n-   [⚙️ `useTagged`](src/use-tagged/) - Tracks and returns a list of all instances with the given tag\n\nThis package also exports some useful utilities:\n\n-   [📕 `hoarcekat`](src/utils/hoarcekat.tsx) - Create a Hoarcekat story\n-   [📦 `binding utils`](src/utils/binding.ts) - Work with values that may or may not be bindings\n\nOr, see the [full list of hooks](src/).\n\n\u0026nbsp;\n\n## 📦 Installation\n\nThis package is available for Roblox TypeScript projects on [NPM](https://www.npmjs.com/package/@rbxts/pretty-react-hooks).\n\n```sh\nnpm install @rbxts/pretty-react-hooks\nyarn add @rbxts/pretty-react-hooks\npnpm add @rbxts/pretty-react-hooks\n```\n\n\u0026nbsp;\n\n## 🌻 Contributing\n\nContributions are welcome! Note that if you make a change to a hook, you should also check the tests and documentation.\n\nTo get started, clone the repository and run `pnpm install`. Then, you can run the following commands:\n\n-   `pnpm dev` - Enable watch mode with support for TestEZ Companion\n-   `pnpm build` - Compile the package's `out` directory\n\nYou will likely need the following extensions:\n\n-   [Rojo VSCode extension](https://marketplace.visualstudio.com/items?itemName=evaera.vscode-rojo)\n-   [TestEZ Companion](https://marketplace.visualstudio.com/items?itemName=tacheometrist.testez-companion)\n\n\u0026nbsp;\n\n## 📝 License\n\npretty-react-hooks is licensed under the [MIT License](LICENSE.md).\n","funding_links":[],"categories":["Hooks"],"sub_categories":["Pretty React Hooks \u003cimg src=\"roblox-ts.svg\" width=\"18px\" /\u003e"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flittensy%2Fpretty-react-hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flittensy%2Fpretty-react-hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flittensy%2Fpretty-react-hooks/lists"}