{"id":15011739,"url":"https://github.com/preactjs/legacy-compat","last_synced_at":"2025-10-19T13:31:59.651Z","repository":{"id":50917158,"uuid":"292942016","full_name":"preactjs/legacy-compat","owner":"preactjs","description":"React 15 compatibility layer for Preact","archived":false,"fork":false,"pushed_at":"2023-02-09T18:13:15.000Z","size":1788,"stargazers_count":16,"open_issues_count":0,"forks_count":3,"subscribers_count":6,"default_branch":"dev","last_synced_at":"2024-04-14T00:59:13.925Z","etag":null,"topics":["preact"],"latest_commit_sha":null,"homepage":"","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/preactjs.png","metadata":{"funding":{"github":["preactjs"],"open_collective":"preact"},"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}},"created_at":"2020-09-04T20:36:58.000Z","updated_at":"2023-02-09T18:10:23.000Z","dependencies_parsed_at":"2023-09-24T05:08:23.313Z","dependency_job_id":null,"html_url":"https://github.com/preactjs/legacy-compat","commit_stats":{"total_commits":28,"total_committers":4,"mean_commits":7.0,"dds":0.3214285714285714,"last_synced_commit":"8d5669d1bbb212686cab23ceaea336b6628f1903"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preactjs%2Flegacy-compat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preactjs%2Flegacy-compat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preactjs%2Flegacy-compat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preactjs%2Flegacy-compat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/preactjs","download_url":"https://codeload.github.com/preactjs/legacy-compat/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219869513,"owners_count":16555291,"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":["preact"],"created_at":"2024-09-24T19:41:35.191Z","updated_at":"2025-10-19T13:31:54.328Z","avatar_url":"https://github.com/preactjs.png","language":"JavaScript","funding_links":["https://github.com/sponsors/preactjs","https://opencollective.com/preact"],"categories":[],"sub_categories":[],"readme":"# `@preact/legacy-compat` \u003ca href=\"https://www.npmjs.org/package/@preact/legacy-compat\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@preact/legacy-compat.svg?style=flat\" alt=\"npm\"\u003e\u003c/a\u003e\n\nExtended compatibility layer for Preact, supporting deprecated and removed APIs from React 15 and prior.\n\nThis module provides a bridging solution for older codebases. For new projects, please use [preact/compat].\n\n### Extended Compatibility Features:\n\n- `createClass()` - including mixins, getInitialState, etc\n- string refs\n- Built-in PropTypes (`React.PropTypes`)\n- [Immutable.js] support\n- `renderSubtreeIntoContainer()`\n\n[preact/compat]: https://preactjs.com/guide/v10/switching-to-preact\n[immutable.js]: https://immutable-js.github.io/immutable-js/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreactjs%2Flegacy-compat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreactjs%2Flegacy-compat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreactjs%2Flegacy-compat/lists"}