{"_id":"react-static-container","_rev":"2858682","name":"react-static-container","description":"Renders static content efficiently by allowing React to short-circuit the reconciliation process.","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"fb","email":""},{"name":"zpao","email":""}],"time":{"modified":"2022-09-06T17:11:48.000Z","created":"2015-08-04T00:32:07.672Z","1.0.2":"2017-10-20T00:54:11.550Z","1.0.1":"2016-04-08T20:41:11.035Z","1.0.0":"2015-10-09T23:52:10.586Z","1.0.0-alpha.1":"2015-08-04T00:32:07.672Z"},"users":{},"author":"","repository":{"type":"git","url":"git+https://github.com/reactjs/react-static-container.git"},"versions":{"1.0.2":{"name":"react-static-container","version":"1.0.2","description":"Renders static content efficiently by allowing React to short-circuit the reconciliation process.","main":"index.js","scripts":{"test":"NODE_ENV=test jest","prerelease":"gulp build"},"repository":{"type":"git","url":"git+https://github.com/reactjs/react-static-container.git"},"keywords":["react-component"],"author":"","license":"BSD-3-Clause","bugs":{"url":"https://github.com/reactjs/react-static-container/issues"},"homepage":"https://github.com/reactjs/react-static-container","jest":{"scriptPreprocessor":"<rootDir>/scripts/jest/preprocessor.js","modulePathIgnorePatterns":["/lib/","/node_modules/"],"unmockedModulePathPatterns":["/node_modules/"],"testPathDirs":["<rootDir>/src"]},"devDependencies":{"babel":"^5.8.23","del":"^1.2.0","fbjs":"^0.3.1","fbjs-scripts":"^0.2.2","gulp":"^3.9.0","gulp-babel":"^5.2.1","jest-cli":"^0.5.10","object-assign":"^4.0.1","react":"^0.14.0","react-dom":"^0.14.0","run-sequence":"^1.1.4"},"peerDependencies":{"react":"^0.13.0 || ^0.14.0 || ^15.0.0 || ^16.0.0"},"gitHead":"8c9c5cd849e922fc50022e342a5aa074067b538f","_id":"react-static-container@1.0.2","_npmVersion":"5.4.2","_nodeVersion":"8.4.0","_npmUser":{"name":"zpao","email":"paul@oshannessy.com"},"dist":{"shasum":"30a4f7548860be1d55d5eb4c20645b835c2bdf34","size":34450,"noattachment":false,"key":"/react-static-container/-/react-static-container-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-static-container/download/react-static-container-1.0.2.tgz"},"maintainers":[{"name":"fb","email":""},{"name":"zpao","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-static-container-1.0.2.tgz_1508460851395_0.011853883042931557"},"directories":{},"publish_time":1508460851550,"_hasShrinkwrap":false,"_cnpm_publish_time":1508460851550,"_cnpmcore_publish_time":"2021-12-16T15:11:29.053Z"},"1.0.1":{"name":"react-static-container","version":"1.0.1","description":"Renders static content efficiently by allowing React to short-circuit the reconciliation process.","main":"index.js","scripts":{"test":"NODE_ENV=test jest","prerelease":"gulp build"},"repository":{"type":"git","url":"git+https://github.com/reactjs/react-static-container.git"},"keywords":["react-component"],"author":"","license":"BSD-3-Clause","bugs":{"url":"https://github.com/reactjs/react-static-container/issues"},"homepage":"https://github.com/reactjs/react-static-container","jest":{"scriptPreprocessor":"<rootDir>/scripts/jest/preprocessor.js","modulePathIgnorePatterns":["/lib/","/node_modules/"],"unmockedModulePathPatterns":["/node_modules/"],"testPathDirs":["<rootDir>/src"]},"devDependencies":{"babel":"^5.8.23","del":"^1.2.0","fbjs":"^0.3.1","fbjs-scripts":"^0.2.2","gulp":"^3.9.0","gulp-babel":"^5.2.1","jest-cli":"^0.5.10","object-assign":"^4.0.1","react":"^0.14.0","react-dom":"^0.14.0","run-sequence":"^1.1.4"},"peerDependencies":{"react":"^0.13.0 || ^0.14.0 || ^15.0.0"},"gitHead":"81fe2fb53e8d8fb6ade9721d033ec351e0b1f192","_id":"react-static-container@1.0.1","_shasum":"694c0dd68a896b879519afb548399cc1989c9ab0","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"zpao","email":"paul@oshannessy.com"},"maintainers":[{"name":"fb","email":""},{"name":"zpao","email":""}],"dist":{"shasum":"694c0dd68a896b879519afb548399cc1989c9ab0","size":5189,"noattachment":false,"key":"/react-static-container/-/react-static-container-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-static-container/download/react-static-container-1.0.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-static-container-1.0.1.tgz_1460148070496_0.6263574725016952"},"directories":{},"publish_time":1460148071035,"_hasShrinkwrap":false,"_cnpm_publish_time":1460148071035,"_cnpmcore_publish_time":"2021-12-16T15:11:29.264Z"},"1.0.0":{"name":"react-static-container","version":"1.0.0","description":"Renders static content efficiently by allowing React to short-circuit the reconciliation process.","main":"index.js","scripts":{"test":"NODE_ENV=test jest","prerelease":"gulp build"},"repository":{"type":"git","url":"git+https://github.com/reactjs/react-static-container.git"},"keywords":["react-component"],"author":"","license":"BSD-3-Clause","bugs":{"url":"https://github.com/reactjs/react-static-container/issues"},"homepage":"https://github.com/reactjs/react-static-container","jest":{"scriptPreprocessor":"<rootDir>/scripts/jest/preprocessor.js","modulePathIgnorePatterns":["/lib/","/node_modules/"],"unmockedModulePathPatterns":["/node_modules/"],"testPathDirs":["<rootDir>/src"]},"devDependencies":{"babel":"^5.8.23","del":"^1.2.0","fbjs":"^0.3.1","fbjs-scripts":"^0.2.2","gulp":"^3.9.0","gulp-babel":"^5.2.1","jest-cli":"^0.5.10","object-assign":"^4.0.1","react":"^0.14.0","react-dom":"^0.14.0","run-sequence":"^1.1.4"},"peerDependencies":{"react":"^0.13.0 || ^0.14.0"},"gitHead":"db6de23c95b1dc9a4c5280f441c2eab12157ad21","_id":"react-static-container@1.0.0","_shasum":"05d313102c7f5381e085a052a0d4249b6a4b8779","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"zpao","email":"paul@oshannessy.com"},"maintainers":[{"name":"fb","email":""},{"name":"zpao","email":""}],"dist":{"shasum":"05d313102c7f5381e085a052a0d4249b6a4b8779","size":5244,"noattachment":false,"key":"/react-static-container/-/react-static-container-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-static-container/download/react-static-container-1.0.0.tgz"},"directories":{},"publish_time":1444434730586,"_hasShrinkwrap":false,"_cnpm_publish_time":1444434730586,"_cnpmcore_publish_time":"2021-12-16T15:11:29.478Z"},"1.0.0-alpha.1":{"name":"react-static-container","version":"1.0.0-alpha.1","description":"Renders static content efficiently by allowing React to short-circuit the reconciliation process.","main":"index.js","scripts":{"test":"NODE_ENV=test jest","prerelease":"gulp build"},"repository":{"type":"git","url":"git+https://github.com/reactjs/react-static-container.git"},"keywords":["react-component"],"author":"","license":"BSD-3-Clause","bugs":{"url":"https://github.com/reactjs/react-static-container/issues"},"homepage":"https://github.com/reactjs/react-static-container","jest":{"scriptPreprocessor":"<rootDir>/scripts/jest/preprocessor.js","modulePathIgnorePatterns":["/lib/","/node_modules/"],"unmockedModulePathPatterns":["/node_modules/"],"testPathDirs":["<rootDir>/src"]},"devDependencies":{"babel":"^5.8.19","del":"^1.2.0","fbjs":"^0.1.0-alpha.4","gulp":"^3.9.0","gulp-babel":"^5.2.0","jest-cli":"^0.4.17","object-assign":"^3.0.0","react":"^0.13.0","run-sequence":"^1.1.2"},"peerDependencies":{"react":"^0.13.0 || ^0.14.0-beta1"},"gitHead":"c970cd4f9ce9af72ae052a0b589ef2497be9a2c2","_id":"react-static-container@1.0.0-alpha.1","_shasum":"5f4b7dc4c77aca57579b863c772f3911be577d98","_from":".","_npmVersion":"2.13.2","_nodeVersion":"0.10.40","_npmUser":{"name":"zpao","email":"paul@oshannessy.com"},"maintainers":[{"name":"fb","email":""},{"name":"zpao","email":""}],"dist":{"shasum":"5f4b7dc4c77aca57579b863c772f3911be577d98","size":5195,"noattachment":false,"key":"/react-static-container/-/react-static-container-1.0.0-alpha.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-static-container/download/react-static-container-1.0.0-alpha.1.tgz"},"directories":{},"publish_time":1438648327672,"_hasShrinkwrap":false,"_cnpm_publish_time":1438648327672,"_cnpmcore_publish_time":"2021-12-16T15:11:29.679Z"}},"readme":"# react-static-container\n\nRenders static content efficiently by allowing React to short-circuit the\nreconciliation process. This component should be used when you know that a\nsubtree of components will never need to be updated.\n\nTypically, you will not need to use this component and should opt for normal\nReact reconciliation.\n\n\n## Installation\n\n```sh\nnpm install react-static-container\n```\n\n## Usage\n\n```js\n\nvar StaticContainer = require('react-static-container');\n\nvar someValue = ...; // We know for certain this value will never change.\n\nclass MyComponent extends React.Component {\n  render() {\n    return (\n      <div>\n        {this.props.value}\n        <StaticContainer>\n          <MyOtherComponent value={someValue} />\n        </StaticContainer>\n      <div>\n    );\n  }\n );\n```\n\n`StaticContainer` also takes a `shouldUpdate` prop as an escape hatch, allowing granular updates.\n","_attachments":{},"homepage":"https://github.com/reactjs/react-static-container","bugs":{"url":"https://github.com/reactjs/react-static-container/issues"},"license":"BSD-3-Clause"}