{"_id":"use-composed-ref","_rev":"4337270","name":"use-composed-ref","description":"React hook which creates a ref function from given refs. Useful when using forwardRef.","dist-tags":{"latest":"1.4.0"},"maintainers":[{"name":"andarist","email":""}],"time":{"modified":"2026-04-08T09:54:54.000Z","created":"2019-03-21T00:05:10.216Z","1.4.0":"2024-12-13T09:59:06.223Z","1.3.0":"2022-04-22T05:36:17.756Z","1.2.1":"2021-12-27T15:23:17.420Z","1.2.0":"2021-12-23T10:10:11.345Z","1.1.0":"2020-10-26T10:16:53.854Z","1.0.0":"2019-03-21T00:05:10.216Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/Andarist/use-composed-ref.git"},"versions":{"1.4.0":{"name":"use-composed-ref","version":"1.4.0","description":"React hook which creates a ref function from given refs. Useful when using forwardRef.","main":"dist/use-composed-ref.cjs.js","module":"dist/use-composed-ref.esm.js","exports":{".":{"types":{"import":"./dist/use-composed-ref.cjs.mjs","default":"./dist/use-composed-ref.cjs.js"},"module":"./dist/use-composed-ref.esm.js","import":"./dist/use-composed-ref.cjs.mjs","default":"./dist/use-composed-ref.cjs.js"},"./package.json":"./package.json"},"types":"./dist/use-composed-ref.cjs.d.ts","scripts":{"test":"echo \"Warning: no test specified\" || jest --env=node","build":"preconstruct build","preversion":"npm test","prepare":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/Andarist/use-composed-ref.git"},"license":"MIT","bugs":{"url":"https://github.com/Andarist/use-composed-ref/issues"},"homepage":"https://github.com/Andarist/use-composed-ref#readme","peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"},"peerDependenciesMeta":{"@types/react":{"optional":true}},"devDependencies":{"@babel/core":"^7.3.4","@babel/plugin-transform-modules-commonjs":"^7.2.0","@babel/preset-env":"^7.3.4","@babel/preset-typescript":"^7.3.3","@preconstruct/cli":"^2.8.10","@types/react":"^16.8.8","husky":"^1.3.1","jest":"^24.5.0","lint-staged":"^8.1.5","prettier":"^1.16.4","react":"^16.8.4","typescript":"^5.7.2"},"preconstruct":{"exports":{"importConditionDefaultExport":"default"},"___experimentalFlags_WILL_CHANGE_IN_PATCH":{"importsConditions":true}},"_id":"use-composed-ref@1.4.0","gitHead":"ea2c9d969f2f90a349f4c99338b806423824cea2","_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"shasum":"09e023bf798d005286ad85cd20674bdf5770653b","size":1997,"noattachment":false,"key":"/use-composed-ref/-/use-composed-ref-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-composed-ref/download/use-composed-ref-1.4.0.tgz"},"_npmUser":{"name":"andarist","email":"mateuszburzynski@gmail.com"},"directories":{},"maintainers":[{"name":"andarist","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/use-composed-ref_1.4.0_1734083946056_0.7498927976300047"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-13T09:59:06.223Z","publish_time":1734083946223,"_source_registry_name":"default","_cnpm_publish_time":1734083946223},"1.3.0":{"name":"use-composed-ref","version":"1.3.0","description":"React hook which creates a ref function from given refs. Useful when using forwardRef.","main":"./dist/use-composed-ref.cjs.js","module":"./dist/use-composed-ref.esm.js","types":"./types/index.d.ts","scripts":{"test":"echo \"Warning: no test specified\" || jest --env=node","prebuild":"rimraf dist types","build":"rollup -c && tsc","preversion":"npm test","prepare":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/Andarist/use-composed-ref.git"},"license":"MIT","bugs":{"url":"https://github.com/Andarist/use-composed-ref/issues"},"homepage":"https://github.com/Andarist/use-composed-ref#readme","peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0"},"devDependencies":{"@babel/core":"^7.3.4","@babel/plugin-transform-modules-commonjs":"^7.2.0","@babel/preset-env":"^7.3.4","@babel/preset-typescript":"^7.3.3","@types/react":"^16.8.8","husky":"^1.3.1","jest":"^24.5.0","lint-staged":"^8.1.5","prettier":"^1.16.4","react":"^16.8.4","rimraf":"^2.6.3","rollup":"^1.6.0","rollup-plugin-babel":"^4.3.2","typescript":"^4.5.4"},"gitHead":"8132edb9c39e4b5690121a525f9978439b6989b4","_id":"use-composed-ref@1.3.0","_nodeVersion":"12.22.11","_npmVersion":"6.14.16","dist":{"shasum":"3d8104db34b7b264030a9d916c5e94fbe280dbda","size":1252,"noattachment":false,"key":"/use-composed-ref/-/use-composed-ref-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-composed-ref/download/use-composed-ref-1.3.0.tgz"},"_npmUser":{"name":"andarist","email":"mateuszburzynski@gmail.com"},"directories":{},"maintainers":[{"name":"andarist","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-composed-ref_1.3.0_1650605777605_0.04850068463925017"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-22T06:04:11.087Z","publish_time":1650605777756,"_cnpm_publish_time":1650605777756},"1.2.1":{"name":"use-composed-ref","version":"1.2.1","description":"React hook which creates a ref function from given refs. Useful when using forwardRef.","main":"./dist/use-composed-ref.cjs.js","module":"./dist/use-composed-ref.esm.js","types":"./types/index.d.ts","scripts":{"test":"echo \"Warning: no test specified\" || jest --env=node","prebuild":"rimraf dist types","build":"rollup -c && tsc","preversion":"npm test","prepare":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/Andarist/use-composed-ref.git"},"license":"MIT","bugs":{"url":"https://github.com/Andarist/use-composed-ref/issues"},"homepage":"https://github.com/Andarist/use-composed-ref#readme","peerDependencies":{"react":"^16.8.0 || ^17.0.0"},"devDependencies":{"@babel/core":"^7.3.4","@babel/plugin-transform-modules-commonjs":"^7.2.0","@babel/preset-env":"^7.3.4","@babel/preset-typescript":"^7.3.3","@types/react":"^16.8.8","husky":"^1.3.1","jest":"^24.5.0","lint-staged":"^8.1.5","prettier":"^1.16.4","react":"^16.8.4","rimraf":"^2.6.3","rollup":"^1.6.0","rollup-plugin-babel":"^4.3.2","typescript":"^4.5.4"},"gitHead":"7c4599c70cf36096e8909249688e93f027019513","_id":"use-composed-ref@1.2.1","_nodeVersion":"12.22.0","_npmVersion":"6.14.11","dist":{"shasum":"9bdcb5ccd894289105da2325e1210079f56bf849","size":1250,"noattachment":false,"key":"/use-composed-ref/-/use-composed-ref-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-composed-ref/download/use-composed-ref-1.2.1.tgz"},"_npmUser":{"name":"andarist","email":"mateuszburzynski@gmail.com"},"directories":{},"maintainers":[{"name":"andarist","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-composed-ref_1.2.1_1640618597281_0.6963300200178919"},"_hasShrinkwrap":false,"publish_time":1640618597420,"_cnpm_publish_time":1640618597420},"1.2.0":{"name":"use-composed-ref","version":"1.2.0","description":"React hook which creates a ref function from given refs. Useful when using forwardRef.","main":"./dist/use-composed-ref.cjs.js","module":"./dist/use-composed-ref.esm.js","types":"./types/index.d.ts","scripts":{"test":"echo \"Warning: no test specified\" || jest --env=node","prebuild":"rimraf dist types","build":"rollup -c && tsc","preversion":"npm test","prepare":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/Andarist/use-composed-ref.git"},"license":"MIT","bugs":{"url":"https://github.com/Andarist/use-composed-ref/issues"},"homepage":"https://github.com/Andarist/use-composed-ref#readme","peerDependencies":{"react":"^16.8.0 || ^17.0.0"},"devDependencies":{"@babel/core":"^7.3.4","@babel/plugin-transform-modules-commonjs":"^7.2.0","@babel/preset-env":"^7.3.4","@babel/preset-typescript":"^7.3.3","@types/react":"^16.8.8","husky":"^1.3.1","jest":"^24.5.0","lint-staged":"^8.1.5","prettier":"^1.16.4","react":"^16.8.4","rimraf":"^2.6.3","rollup":"^1.6.0","rollup-plugin-babel":"^4.3.2","typescript":"^4.5.4"},"dependencies":{"ts-essentials":"^9.1.0"},"gitHead":"37f5681db86b985a24a20de11b4a00409f97806d","_id":"use-composed-ref@1.2.0","_nodeVersion":"12.22.0","_npmVersion":"6.14.11","dist":{"shasum":"b7dd984d92a3fbdab1856e819189831a20e08f32","size":1271,"noattachment":false,"key":"/use-composed-ref/-/use-composed-ref-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-composed-ref/download/use-composed-ref-1.2.0.tgz"},"_npmUser":{"name":"andarist","email":"mateuszburzynski@gmail.com"},"directories":{},"maintainers":[{"name":"andarist","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-composed-ref_1.2.0_1640254211209_0.6418597553611829"},"_hasShrinkwrap":false,"publish_time":1640254211345,"_cnpm_publish_time":1640254211345},"1.1.0":{"name":"use-composed-ref","version":"1.1.0","description":"React hook which creates a ref function from given refs. Useful when using forwardRef.","main":"./dist/use-composed-ref.cjs.js","module":"./dist/use-composed-ref.esm.js","types":"./types/index.d.ts","scripts":{"test":"echo \"Warning: no test specified\" || jest --env=node","prebuild":"rimraf dist types","build":"rollup -c && tsc","preversion":"npm test","prepare":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/Andarist/use-composed-ref.git"},"license":"MIT","bugs":{"url":"https://github.com/Andarist/use-composed-ref/issues"},"homepage":"https://github.com/Andarist/use-composed-ref#readme","peerDependencies":{"react":"^16.8.0 || ^17.0.0"},"devDependencies":{"@babel/core":"^7.3.4","@babel/plugin-transform-modules-commonjs":"^7.2.0","@babel/preset-env":"^7.3.4","@babel/preset-typescript":"^7.3.3","@types/react":"^16.8.8","husky":"^1.3.1","jest":"^24.5.0","lint-staged":"^8.1.5","prettier":"^1.16.4","react":"^16.8.4","rimraf":"^2.6.3","rollup":"^1.6.0","rollup-plugin-babel":"^4.3.2","typescript":"^3.3.3333"},"dependencies":{"ts-essentials":"^2.0.3"},"gitHead":"64d27aa4ed6bc00265978f57f8ec91c15f490ec0","_id":"use-composed-ref@1.1.0","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"shasum":"9220e4e94a97b7b02d7d27eaeab0b37034438bbc","size":1270,"noattachment":false,"key":"/use-composed-ref/-/use-composed-ref-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-composed-ref/download/use-composed-ref-1.1.0.tgz"},"maintainers":[{"name":"andarist","email":""}],"_npmUser":{"name":"andarist","email":"mateuszburzynski@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-composed-ref_1.1.0_1603707413684_0.9935402853091577"},"_hasShrinkwrap":false,"publish_time":1603707413854,"_cnpm_publish_time":1603707413854},"1.0.0":{"name":"use-composed-ref","version":"1.0.0","description":"React hook which creates a ref function from given refs. Useful when using forwardRef.","main":"./dist/use-composed-ref.cjs.js","module":"./dist/use-composed-ref.esm.js","types":"./types/index.d.ts","scripts":{"test":"echo \"Warning: no test specified\" || jest --env=node","prebuild":"rimraf dist types","build":"rollup -c && tsc","preversion":"npm test","prepare":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/Andarist/use-composed-ref.git"},"license":"MIT","bugs":{"url":"https://github.com/Andarist/use-composed-ref/issues"},"homepage":"https://github.com/Andarist/use-composed-ref#readme","peerDependencies":{"react":"^16.8.0"},"devDependencies":{"@babel/core":"^7.3.4","@babel/plugin-transform-modules-commonjs":"^7.2.0","@babel/preset-env":"^7.3.4","@babel/preset-typescript":"^7.3.3","@types/react":"^16.8.8","husky":"^1.3.1","jest":"^24.5.0","lint-staged":"^8.1.5","prettier":"^1.16.4","react":"^16.8.4","rimraf":"^2.6.3","rollup":"^1.6.0","rollup-plugin-babel":"^4.3.2","typescript":"^3.3.3333"},"dependencies":{"ts-essentials":"^2.0.3"},"gitHead":"1cafdd6123d7e7aa4f3c8e6a74950c761524329a","_id":"use-composed-ref@1.0.0","_npmVersion":"6.5.0","_nodeVersion":"11.8.0","_npmUser":{"name":"andarist","email":"mateuszburzynski@gmail.com"},"dist":{"shasum":"bb13e8f4a0b873632cde4940abeb88b92d03023a","size":1261,"noattachment":false,"key":"/use-composed-ref/-/use-composed-ref-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/use-composed-ref/download/use-composed-ref-1.0.0.tgz"},"maintainers":[{"name":"andarist","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-composed-ref_1.0.0_1553126710105_0.17927083676480904"},"_hasShrinkwrap":false,"publish_time":1553126710216,"_cnpm_publish_time":1553126710216}},"readme":"# use-composed-ref\n\nReact hook which creates a ref function from given refs. Useful when using forwardRef.\n","_attachments":{},"homepage":"https://github.com/Andarist/use-composed-ref#readme","bugs":{"url":"https://github.com/Andarist/use-composed-ref/issues"},"license":"MIT"}