{"id":16529256,"url":"https://github.com/cometkim/rescript-react-error-boundary","last_synced_at":"2026-02-09T08:36:49.606Z","repository":{"id":44567479,"uuid":"258589428","full_name":"cometkim/rescript-react-error-boundary","owner":"cometkim","description":"ReScript binding for react-error-boundary","archived":false,"fork":false,"pushed_at":"2023-12-15T08:31:50.000Z","size":879,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-20T12:36:39.735Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"ReScript","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/cometkim.png","metadata":{"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,"roadmap":null,"authors":null}},"created_at":"2020-04-24T18:18:00.000Z","updated_at":"2023-07-27T02:28:32.000Z","dependencies_parsed_at":"2024-01-13T12:14:29.463Z","dependency_job_id":"d3f0c116-0d68-4cb4-9e50-e5f621b56ad1","html_url":"https://github.com/cometkim/rescript-react-error-boundary","commit_stats":null,"previous_names":["cometkim/bs-react-error-boundary"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/cometkim/rescript-react-error-boundary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cometkim%2Frescript-react-error-boundary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cometkim%2Frescript-react-error-boundary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cometkim%2Frescript-react-error-boundary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cometkim%2Frescript-react-error-boundary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cometkim","download_url":"https://codeload.github.com/cometkim/rescript-react-error-boundary/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cometkim%2Frescript-react-error-boundary/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29260113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T04:11:57.159Z","status":"ssl_error","status_checked_at":"2026-02-09T04:11:56.117Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-10-11T17:44:15.874Z","updated_at":"2026-02-09T08:36:49.592Z","avatar_url":"https://github.com/cometkim.png","language":"ReScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rescript-react-error-boundary\n\n[![NPM Package](https://img.shields.io/npm/v/rescript-react-error-boundary)](https://www.npmjs.com/package/rescript-react-error-boundary)\n[![LICENSE - MIT](https://img.shields.io/github/license/cometkim/rescript-react-error-boundary)](#LICENSE)\n\nReScript binding for [react-error-boundary](https://github.com/bvaughn/react-error-boundary)\n\n## Installation\n\n```bash\nyarn add rescript-react-error-boundary\n```\n\nAnd add it into your `bsconfig.json`\n\n```json\n  \"bs-dependencies\": [\n    \"rescript-react-error-boundary\"\n  ]\n```\n\n## Example\n\n```res\nopen RescriptReactErrorBoundary\n\n@react.component\nlet make = () =\u003e {\n  \u003cdiv\u003e\n    \u003cErrorBoundary\n      onError={(error, _) =\u003e\n        Js.Console.error(\n          switch (error-\u003eJs.Exn.message) {\n          | Some(message) =\u003e message\n          | None =\u003e \"Unknown error occured while rendering\"\n          },\n        )\n      }\u003e\n      \u003cApp/\u003e\n    \u003c/ErrorBoundary\u003e\n  \u003c/div\u003e\n}\n```\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcometkim%2Frescript-react-error-boundary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcometkim%2Frescript-react-error-boundary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcometkim%2Frescript-react-error-boundary/lists"}