{"id":16231729,"url":"https://github.com/lastnamearya/react-lifecycles-deepdive","last_synced_at":"2026-04-29T01:33:53.625Z","repository":{"id":135831713,"uuid":"140821273","full_name":"lastnamearya/React-LifeCycles-DeepDive","owner":"lastnamearya","description":"Diving Deep into React Component LifeCycles","archived":false,"fork":false,"pushed_at":"2018-07-13T13:09:52.000Z","size":65,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T06:45:03.007Z","etag":null,"topics":["lifecycle-components","react","react-components","react-life-cycle","react-life-cycle-demo","react-lifecycle-hooks","reactjs"],"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/lastnamearya.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":"2018-07-13T08:41:18.000Z","updated_at":"2018-08-09T09:52:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"069ff2da-6341-42a3-905c-1aaec79e0e76","html_url":"https://github.com/lastnamearya/React-LifeCycles-DeepDive","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"31b12fd725bf358f46a5aae34cf38d80ee5492fc"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lastnamearya/React-LifeCycles-DeepDive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lastnamearya%2FReact-LifeCycles-DeepDive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lastnamearya%2FReact-LifeCycles-DeepDive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lastnamearya%2FReact-LifeCycles-DeepDive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lastnamearya%2FReact-LifeCycles-DeepDive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lastnamearya","download_url":"https://codeload.github.com/lastnamearya/React-LifeCycles-DeepDive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lastnamearya%2FReact-LifeCycles-DeepDive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32407164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"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":["lifecycle-components","react","react-components","react-life-cycle","react-life-cycle-demo","react-lifecycle-hooks","reactjs"],"created_at":"2024-10-10T13:06:39.596Z","updated_at":"2026-04-29T01:33:53.609Z","avatar_url":"https://github.com/lastnamearya.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Component Lifecycle Deep Dive\n\n### Component Life Cycle methods\n\n**Mounting**\n\n*These methods are called when an instance of a component is being created and inserted into the DOM:*\n\n- constructor()\n- static getDerivedStateFromProps()\n- componentWillMount()\n- render()\n- componentDidMount()\n\n* * *\n\n**Updating**\n\n*An update can be caused by changes to props or state. These methods are called when a component is being re-rendered:*\n\n- componentWillReceiveProps()\n- static getDerivedStateFromProps()\n- shouldComponentUpdate()\n- componentWillUpdate()\n- render()\n- getSnapshotBeforeUpdate()\n- componentDidUpdate()\n\n* * *\n\n**Unmounting**\n\n*This method is called when a component is being removed from the DOM:*\n\n- componentWillUnmount()\n\n* * *\n\n**Error Handling**\n\n*This method is called when there is an error during rendering, in a lifecycle method, or in the constructor of any child component.*\n\n- componentDidCatch()\n\n### Component Life Cycle methods that are deprecated now (after React 16.3)\n\n- componentWillMount() // Use constructor()\n- componentWillReceiveProps() // Use getDerivedStateFromProps()\n- componentWillUpdate() // Use getSnapshotBeforeUpdate()\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flastnamearya%2Freact-lifecycles-deepdive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flastnamearya%2Freact-lifecycles-deepdive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flastnamearya%2Freact-lifecycles-deepdive/lists"}