{"id":16228569,"url":"https://github.com/singhtal/update-react-component","last_synced_at":"2025-10-08T23:04:23.331Z","repository":{"id":57387136,"uuid":"462146763","full_name":"singhtal/update-react-component","owner":"singhtal","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-22T05:10:05.000Z","size":159,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-23T13:01:42.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/singhtal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-22T05:07:35.000Z","updated_at":"2022-10-20T17:04:21.000Z","dependencies_parsed_at":"2022-09-15T03:10:25.338Z","dependency_job_id":null,"html_url":"https://github.com/singhtal/update-react-component","commit_stats":null,"previous_names":["singhtal/update-react-component","tal1992/update-react-component"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhtal%2Fupdate-react-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhtal%2Fupdate-react-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhtal%2Fupdate-react-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singhtal%2Fupdate-react-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/singhtal","download_url":"https://codeload.github.com/singhtal/update-react-component/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276159,"owners_count":20912288,"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":[],"created_at":"2024-10-10T12:55:49.327Z","updated_at":"2025-10-08T23:04:18.307Z","avatar_url":"https://github.com/singhtal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# update-react-component\n\nSometimes you need to force re-render on function based component. This is a simple custom hook to do force re-render.\n\nNote: Custom hooks cannot be called inside callbacks.\n\n### Usage\n\n```js\nimport {useForceUpdate} from 'update-react-component';\n```\n\n```js\nuseForceUpdate()\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinghtal%2Fupdate-react-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinghtal%2Fupdate-react-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinghtal%2Fupdate-react-component/lists"}