{"id":15387089,"url":"https://github.com/wildhoney/reactdelayed","last_synced_at":"2026-03-15T23:03:03.471Z","repository":{"id":142001821,"uuid":"91020579","full_name":"Wildhoney/ReactDelayed","owner":"Wildhoney","description":"Small component for delaying the mounting and unmounting of a child component for CSS animation purposes.","archived":false,"fork":false,"pushed_at":"2018-06-22T10:46:39.000Z","size":232,"stargazers_count":21,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-04T09:54:16.710Z","etag":null,"topics":["css-animations","defer","deferred","delay","delayed","mount","mounting","react","render","timeout","unmount","unmounting","wait"],"latest_commit_sha":null,"homepage":"https://react-delayed.herokuapp.com/","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/Wildhoney.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-11T20:28:12.000Z","updated_at":"2023-06-15T20:45:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"c950bd4b-34cb-4639-a5f8-5dd06abcbd34","html_url":"https://github.com/Wildhoney/ReactDelayed","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/Wildhoney/ReactDelayed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wildhoney%2FReactDelayed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wildhoney%2FReactDelayed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wildhoney%2FReactDelayed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wildhoney%2FReactDelayed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wildhoney","download_url":"https://codeload.github.com/Wildhoney/ReactDelayed/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wildhoney%2FReactDelayed/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265967071,"owners_count":23857065,"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":["css-animations","defer","deferred","delay","delayed","mount","mounting","react","render","timeout","unmount","unmounting","wait"],"created_at":"2024-10-01T14:51:53.700Z","updated_at":"2025-09-22T09:07:17.144Z","avatar_url":"https://github.com/Wildhoney.png","language":"JavaScript","readme":"# React Delayed\n\n\u003e Small component for delaying the mounting and unmounting of a child component for CSS animation purposes.\n\n![Travis](http://img.shields.io/travis/Wildhoney/ReactDelayed.svg?style=flat-square)\n\u0026nbsp;\n![Coveralls](https://img.shields.io/coveralls/Wildhoney/ReactDelayed.svg?style=flat-square)\n\u0026nbsp;\n![npm](http://img.shields.io/npm/v/react-delayed.svg?style=flat-square)\n\u0026nbsp;\n![License MIT](https://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat-square)\n\n* **npm**: `npm i react-delayed --save`\n* **Heroku**: [http://react-delayed.herokuapp.com/](http://react-delayed.herokuapp.com/)\n\n---\n\n## Getting Started\n\nUse the optional `mountAfter` and `unmountAfter` props for delaying the mounting and unmounting of nested components.\n\n```javascript\n\u003cDelayed mounted={true} mountAfter={500} unmountAfter={500}\u003e\n    \u003cimg src=\"./images/nyan.gif\" alt=\"Nyan\" /\u003e\n\u003c/Delayed\u003e\n```\n\nWhen `mounted` is `false` a dummy node will be rendered, which defaults to `span` and can be changed with the `nodeName` prop.\n\nYou're also able to pass a *thunk* as the `children` for truly deferred components.\n\n```javascript\n\u003cDelayed mounted={true} mountAfter={500} unmountAfter={500}\u003e\n    {() =\u003e \u003cimg src=\"./images/nyan.gif\" alt=\"Nyan\" /\u003e}\n\u003c/Delayed\u003e\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwildhoney%2Freactdelayed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwildhoney%2Freactdelayed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwildhoney%2Freactdelayed/lists"}