{"id":17680735,"url":"https://github.com/kcreate/deferedcontainerlist","last_synced_at":"2025-10-20T07:49:56.787Z","repository":{"id":72282603,"uuid":"58409650","full_name":"KCreate/DeferedContainerList","owner":"KCreate","description":"Defer rendering of props changes","archived":false,"fork":false,"pushed_at":"2016-05-17T09:08:52.000Z","size":3367,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T13:49:37.191Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KCreate.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":"2016-05-09T21:30:50.000Z","updated_at":"2019-07-11T19:34:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"b72eaaf1-91c0-4b60-a965-c202d806c733","html_url":"https://github.com/KCreate/DeferedContainerList","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"91d295c4e8970640028ca26e4171ac1fdc40bff4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KCreate%2FDeferedContainerList","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KCreate%2FDeferedContainerList/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KCreate%2FDeferedContainerList/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KCreate%2FDeferedContainerList/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KCreate","download_url":"https://codeload.github.com/KCreate/DeferedContainerList/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246365645,"owners_count":20765546,"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-24T09:08:43.636Z","updated_at":"2025-10-20T07:49:51.753Z","avatar_url":"https://github.com/KCreate.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React: DeferedContainerList\n\nUtility component that allows you to defer the rendering of child components. Useful for transitions between pages that might reuse the same components.\n\n# How do i use it?\n\nInstall it (Instructions below) and import the component in your app. Also check out the examples inside the examples folder.\n\n# Installation\n```bash\nnpm install deferedcontainerlist -S\n```\nThen you can just use it as a regular React component.\n\n# Usage Example\n\nBelow is a little app i threw together to demonstrate a possible use case for this library.\n![](example.gif)\n\n# Code Example\n[Live Demo](https://jsfiddle.net/fj4zv2tn/15/)\n```js\nimport React form 'react';\nimport { render } from 'react-dom';\nimport DeferedContainerList from 'deferedcontainerlist';\n\nrender(\n    \u003cDeferedContainerList\n        delay={150} // miliseconds\n        appliedClassName=\"deferedApplied\"\n        notAppliedClassName=\"deferedNotApplied\"\n        appliedStyle={{ color: 'red' }}\n        notAppliedStyle={{ color: 'blue' }}\n    \u003e\n        {/* Nodes go here */}\n    \u003c/DeferedContainerList\u003e\n);\n```\n\n# Important\nIf your child component has it's own className, this won't work. DeferedContainerList just passes another className prop to your component so you need to add it manually. Something like that:\n```javascript\nclass SomeComponent extends Component {\n    render() {\n        return (\n            \u003cdiv className={'SomeComponent' + this.props.className}\u003e\n                /* ... */\n            \u003c/div\u003e\n        );\n    }\n}\n```\n\n# License\n[MIT](https://github.com/KCreate/DeferedContainerList/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkcreate%2Fdeferedcontainerlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkcreate%2Fdeferedcontainerlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkcreate%2Fdeferedcontainerlist/lists"}