{"id":19904284,"url":"https://github.com/alloc/react-native-macos","last_synced_at":"2025-05-03T00:31:38.338Z","repository":{"id":54456497,"uuid":"218628429","full_name":"alloc/react-native-macos","owner":"alloc","description":"Fork of https://github.com/ptmt/react-native-macos with more features","archived":true,"fork":false,"pushed_at":"2023-08-03T06:35:38.000Z","size":139392,"stargazers_count":22,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-27T05:39:44.821Z","etag":null,"topics":["appkit","cocoa","macos","react","react-native"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/alloc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null}},"created_at":"2019-10-30T21:17:12.000Z","updated_at":"2024-11-11T17:01:23.000Z","dependencies_parsed_at":"2023-10-20T16:44:28.589Z","dependency_job_id":null,"html_url":"https://github.com/alloc/react-native-macos","commit_stats":{"total_commits":12987,"total_committers":2025,"mean_commits":6.413333333333333,"dds":0.9636559636559636,"last_synced_commit":"0215a4d0fdb8d3f99505b4941ec32613d92cd631"},"previous_names":[],"tags_count":318,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alloc%2Freact-native-macos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alloc%2Freact-native-macos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alloc%2Freact-native-macos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alloc%2Freact-native-macos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alloc","download_url":"https://codeload.github.com/alloc/react-native-macos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252126544,"owners_count":21698964,"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":["appkit","cocoa","macos","react","react-native"],"created_at":"2024-11-12T20:27:44.239Z","updated_at":"2025-05-03T00:31:33.329Z","avatar_url":"https://github.com/alloc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @alloc/react-native-macos\n\nFork of `react-native` for macOS.\n\n## Install\n\n```sh\nnpm install @alloc/react-native-macos\n```\n\n## Roadmap\n\n- [x] Upgrade `\u003cText\u003e` and `\u003cTextInput\u003e` to RN 0.54 ([#227](https://github.com/ptmt/react-native-macos/pull/227))\n- [x] Add `RCTWindow` for improved input handling ([#228](https://github.com/ptmt/react-native-macos/pull/228))\n- [x] Add support for React hooks ([#225](https://github.com/ptmt/react-native-macos/pull/225))\n- [x] Create a library for native SVG support ([repo](https://github.com/alloc/react-native-svgkit))\n- [x] Support `onMouseEnter` and `onMouseLeave` events ([#231](https://github.com/ptmt/react-native-macos/pull/231))\n- [x] Reimplement the native `hitSlop` prop ([830777c4558292091a6b0e5f43161466f9526a16](https://github.com/alloc/react-native-macos/commit/830777c4558292091a6b0e5f43161466f9526a16))\n- [x] Create a library for playing sounds ([repo](https://github.com/alloc/react-native-sound))\n- [x] Support `pointerEvents` prop ([b48d8cb2544b08c739cd7263f673cbff06149eee](https://github.com/alloc/react-native-macos/commit/b48d8cb2544b08c739cd7263f673cbff06149eee))\n- [x] Add `\u003cWindowDrag\u003e` component ([3baecb6ac056fb022198ae20550ace3f4c76f2a0](https://github.com/alloc/react-native-macos/commit/3baecb6ac056fb022198ae20550ace3f4c76f2a0))\n- [x] Add `\u003cGradient\u003e` component ([1f828676faf872421b037c598cada0371a62db02](https://github.com/alloc/react-native-macos/commit/1f828676faf872421b037c598cada0371a62db02))\n- [x] Add `cursor` prop to `\u003cView\u003e` ([d679a7cfe47dbae3c69ed5070b679dc3ccd3eb1c](https://github.com/alloc/react-native-macos/commit/d679a7cfe47dbae3c69ed5070b679dc3ccd3eb1c))\n- [x] Fork `@react-native-community/art` and make it work on macOS ([repo](https://github.com/aleclarson/react-native-art))\n- [x] Support moving a `RCTWindow` to a screen with a different `backingScaleFactor` ([e289a8d8c3e502527eb43bdfcd6c27651f7f22ae](https://github.com/alloc/react-native-macos/commit/e289a8d8c3e502527eb43bdfcd6c27651f7f22ae))\n- [x] Fork `@types/react-native` and maintain it here\n- [x] Add `preferFocus` prop to `\u003cTextInput\u003e` that prevents blur when clicking outside the input view\n- [x] Rework the `RCTKeyCommands` API ([26b036d1030ea9b0e8fe3d5475ed51e9263b6db9](https://github.com/alloc/react-native-macos/commit/26b036d1030ea9b0e8fe3d5475ed51e9263b6db9))\n- [x] Avoid redrawing borders if nothing changed ([79918e7a50d65ac7e6bef0c60705f548d3dbac52](https://github.com/alloc/react-native-macos/commit/79918e7a50d65ac7e6bef0c60705f548d3dbac52))\n- [x] Add `style.backgroundBlurRadius` to `\u003cView\u003e` ([6092467359f4fb025655d7b5912ba1491f8d06b5](https://github.com/alloc/react-native-macos/commit/6092467359f4fb025655d7b5912ba1491f8d06b5))\n- [x] Add `AppState.windows` and new AppState events \"rootViewWillAppear\" and \"windowDidChangeScreen\" ([edcc0dc4b43e00fc784abbb85513b4fed285d28e](https://github.com/alloc/react-native-macos/commit/edcc0dc4b43e00fc784abbb85513b4fed285d28e))\n- [x] Split out the `\u003cMaskedView\u003e` component ([4a887c16d8b5cc6de7766e681bdd2382bd3f4e15](https://github.com/alloc/react-native-macos/commit/4a887c16d8b5cc6de7766e681bdd2382bd3f4e15))\n- [ ] Add native `Worker` class ([branch](https://github.com/aleclarson/react-native-macos/tree/worker))\n- [ ] Add `\u003cWindow\u003e` component ([API draft](https://gist.github.com/aleclarson/1eb38f8a1560a910692b624325d38767))\n- [ ] Recompute the mouse target when its current target's frame changes (relative to window)\n- [ ] Add `\u003cMenu\u003e` component ([API draft](https://gist.github.com/aleclarson/219105fc77658e1da620a17b2e05b1de))\n- [ ] Add `inert` prop for disabling focus and user interaction (see [here](https://html.spec.whatwg.org/multipage/interaction.html#inert))\n- [ ] Add `\u003cHotKey\u003e` component ([API draft](https://gist.github.com/aleclarson/6c609884fc08c20492c8722eed17acc1))\n\n### Bugs\n\nThis list is incomplete. See the commit log for more.\n\n- [x] Fix `zIndex` prop being ignored ([fe5bb43f5c31598b349becbedbaa7f4ade65d4e4](https://github.com/alloc/react-native-macos/commit/fe5bb43f5c31598b349becbedbaa7f4ade65d4e4))\n- [x] Respect `layer.transform` inside `hitTest` ([0c56034ab578c5d0c493a3183ac6d1bbb156160b](https://github.com/alloc/react-native-macos/commit/0c56034ab578c5d0c493a3183ac6d1bbb156160b))\n- [x] Various RCTView fixes ([#234](https://github.com/ptmt/react-native-macos/pull/234))\n- [x] In some cases, shadows won't render unless `backgroundColor` comes after the shadow props\n- [x] Fix the \"change\" event of `AppState` ([77566a3b78431e5f3712722044022234ceedc44c](https://github.com/alloc/react-native-macos/commit/77566a3b78431e5f3712722044022234ceedc44c))\n- [x] Hit testing in `RCTNativeScrollView` ([80ae3f304328ff00356ab7f0a251325e666b38b5](https://github.com/alloc/react-native-macos/commit/80ae3f304328ff00356ab7f0a251325e666b38b5))\n- [x] Scrollbars should be visible by default ([12721449c00649de251c24391db9cd839db2bce8](https://github.com/alloc/react-native-macos/commit/12721449c00649de251c24391db9cd839db2bce8))\n- [ ] Shadows won't render when `shadowOpacity` is undefined\n- [ ] Keep cursor an `I`-bar between mouseDown and mouseUp in a `\u003cTextInput\u003e`\n- [ ] The element inspector (`cmd+i`) doesn't work\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falloc%2Freact-native-macos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falloc%2Freact-native-macos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falloc%2Freact-native-macos/lists"}