{"id":15407984,"url":"https://github.com/danilqa/react-props-diff-logger","last_synced_at":"2026-05-19T14:02:15.716Z","repository":{"id":212337757,"uuid":"722250579","full_name":"Danilqa/react-props-diff-logger","owner":"Danilqa","description":"📝 Helps you debug React components by logging props changes ","archived":false,"fork":false,"pushed_at":"2023-12-17T11:24:11.000Z","size":1249,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T23:18:03.647Z","etag":null,"topics":["logger","props","react"],"latest_commit_sha":null,"homepage":"","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/Danilqa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-11-22T19:00:34.000Z","updated_at":"2024-04-14T06:28:45.000Z","dependencies_parsed_at":"2023-12-17T12:38:11.492Z","dependency_job_id":null,"html_url":"https://github.com/Danilqa/react-props-diff-logger","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"2c532a1461a4e8b0c4bfd10efa1e47fbb4630fc8"},"previous_names":["danilqa/react-props-diff-logger"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Danilqa/react-props-diff-logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danilqa%2Freact-props-diff-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danilqa%2Freact-props-diff-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danilqa%2Freact-props-diff-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danilqa%2Freact-props-diff-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Danilqa","download_url":"https://codeload.github.com/Danilqa/react-props-diff-logger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danilqa%2Freact-props-diff-logger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33219367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["logger","props","react"],"created_at":"2024-10-01T16:30:29.206Z","updated_at":"2026-05-19T14:02:15.657Z","avatar_url":"https://github.com/Danilqa.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![react props diff logger](.github/assets/background.jpg 'React Props Diff Logger')\n\n\u003cp align=\"center\"\u003e\n  Helps you debug React components by logging props changes.\n\u003c/p\u003e\n\n## Installation\n\n```bash\nnpm install -D react-props-diff-logger\n```\n\n```bash\nyarn add --dev react-props-diff-logger\n```\n\n```bash\npnpm add -D react-props-diff-logger\n```\n\n## Usage\n\n### Basic Usage\n\nWrap your component with `withPropsDiffLogger` HOC:\n```tsx\nimport { PropsDiffLogger } from 'react-props-diff-logger';\nimport { MyComponent as _MyComponent } from '../../components/my-component'; \n\nconst MyComponent = withPropsDiffLogger(_MyComponent);\n\nfunction App() {\n  return (\n    // ...\n      \u003cMyComponent /\u003e\n    // ...\n  );\n}\n```\n\n### Usage with Memoized Components\n\nIf you have a memoized component, you should wrap `withPropsDiffLogger` with `memo` in the same way:\n```tsx\nconst MyComponent = memo(withPropsDiffLogger(_MyComponent), /*arePropsEqual?*/);\n```\n\n### Name\n\nBy default, the function's name or `displayName` is used. To set or override the component's name, provide the second \n`name` argument:\n\n```ts\nconst MyComponent = withPropsDiffLogger(_MyComponent, 'MyCustomName');\n```\n\n\u003cp align=\"center\"\u003e\nSupport the project by giving it a star! ⭐\n\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanilqa%2Freact-props-diff-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanilqa%2Freact-props-diff-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanilqa%2Freact-props-diff-logger/lists"}