{"_id":"@acoboyz/react-qstate","_rev":"18-7b4cbff677e2edc102b8642aa53a63d8","name":"@acoboyz/react-qstate","dist-tags":{"latest":"1.0.3"},"versions":{"0.1.0":{"name":"@acoboyz/react-qstate","version":"0.1.0","keywords":["react","react-query","superjson","state management","hooks"],"author":{"name":"acoBOYZ"},"license":"MIT","_id":"@acoboyz/react-qstate@0.1.0","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"homepage":"https://github.com/acoBOYZ","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"dist":{"shasum":"701e51cf64ce60a76e086ebc5dff3a663e85128f","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-0.1.0.tgz","fileCount":8,"integrity":"sha512-RTnfoKs+PDgjRKwAlR/bZHHbIXWyoM+iOa3XSfFIg6NTP8zuhObksAN6nUV3Dw380bHUuhQoD185Dzl/pZk21g==","signatures":[{"sig":"MEQCIF21SXVWKI3ZvOg8374rpTPJq7Gkqp2PA7cfd5yohmhSAiB3oFRuK+y3/nAb4zClkRidSRmIdhxaJYVg5wqCEZRI2Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10444},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/acoBOYZ","type":"github"},"gitHead":"a7b38a973ef0ef3e0f8f56701829a7aa172675b1","scripts":{"lint":"eslint . --ext .js,.jsx,.ts,.tsx","build":"vite build && publint --strict","prepare":"npm run build","release":"tanstack-config publish","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"repository":{"url":"git+https://github.com/acoBOYZ/react-qstate.git","type":"git"},"_npmVersion":"10.8.1","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"react":"^18.3.1","react-dom":"^18.3.1","superjson":"^2.2.1","@tanstack/react-query":"^5.51.1"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^4.5.3","rimraf":"^6.0.1","publint":"^0.2.8","typescript":"^5.5.3","@babel/core":"^7.24.8","@types/react":"^18.3.3","vite-plugin-dts":"^3.9.1","@tanstack/config":"^0.9.6","@types/react-dom":"^18.3.0","@babel/preset-env":"^7.24.8","@babel/preset-react":"^7.24.7","@eslint/config-array":"^0.17.0","@eslint/object-schema":"^2.1.4","@babel/preset-typescript":"^7.24.7"},"_npmOperationalInternal":{"tmp":"tmp/react-qstate_0.1.0_1720837565813_0.9551900845842447","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@acoboyz/react-qstate","version":"0.1.1","keywords":["react","react-query","superjson","state management","hooks"],"author":{"name":"acoBOYZ"},"license":"MIT","_id":"@acoboyz/react-qstate@0.1.1","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"homepage":"https://github.com/acoBOYZ","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"dist":{"shasum":"3773ba8e85869cfdfdd92d00b5a247ec5f66713e","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-0.1.1.tgz","fileCount":9,"integrity":"sha512-5D6FRDK9re8nsm+sPNKChl4b49/w2TFilQDWuGuVoqD5cNFZeuoEOyzUXxJ6tdGGqPtLqkAfEp+oYvLIOzY7aQ==","signatures":[{"sig":"MEQCIEZWqSu1B6Kismv3M8n3txwOrkWtC+Z2N5xR15aVwbHIAiAHfVM5DPOoDZ8/KgfeyT7bDwlI42Yy0AYv+MK7nT16WA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11956},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/acoBOYZ","type":"github"},"gitHead":"fa6e83cfe939fdb25afea5b3adf67912e602da6f","scripts":{"lint":"eslint . --ext .js,.jsx,.ts,.tsx","build":"vite build && publint --strict","prepare":"npm run build","release":"tanstack-config publish","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"repository":{"url":"git+https://github.com/acoBOYZ/react-qstate.git","type":"git"},"_npmVersion":"10.8.1","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"react":"^18.3.1","react-dom":"^18.3.1","superjson":"^2.2.1","@tanstack/react-query":"^5.51.1"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^5.3.3","rimraf":"^6.0.1","publint":"^0.2.8","typescript":"^5.5.3","@babel/core":"^7.24.8","@types/react":"^18.3.3","vite-plugin-dts":"^3.9.1","@tanstack/config":"^0.9.6","@types/react-dom":"^18.3.0","@babel/preset-env":"^7.24.8","@babel/preset-react":"^7.24.7","@eslint/config-array":"^0.17.0","@eslint/object-schema":"^2.1.4","@babel/preset-typescript":"^7.24.7"},"peerDependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-qstate_0.1.1_1720856408392_0.0938416312957373","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@acoboyz/react-qstate","version":"0.1.2","keywords":["react","react-query","superjson","state management","hooks"],"author":{"name":"acoBOYZ"},"license":"MIT","_id":"@acoboyz/react-qstate@0.1.2","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"homepage":"https://github.com/acoBOYZ","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"dist":{"shasum":"8b9389bb28a08941e66e7a6254a5414234cc8460","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-0.1.2.tgz","fileCount":25,"integrity":"sha512-tehHn6BiHbcZjhXc/L3z3NdCTLlFXpsN1/39SpJ8mmS2NG8OqNjgwdtzAvUYMwK/+PU1K8qD1BNGxAdcPMMjtw==","signatures":[{"sig":"MEYCIQDH0SauF7CNrGQWoURcC/f6a92KVVdj155jdZ+A0P5mUAIhAL5/3ywEJ639lV8hXCtUg0i772jdoXTn+oLwstNuOtPK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38836},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/acoBOYZ","type":"github"},"gitHead":"a5041474a287dcdcbe248f35984ccefe72f90198","scripts":{"lint":"eslint . --ext .js,.jsx,.ts,.tsx","build":"vite build && publint --strict","prepare":"npm run build","release":"tanstack-config publish","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"repository":{"url":"git+https://github.com/acoBOYZ/react-qstate.git","type":"git"},"_npmVersion":"10.8.1","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0","react-dom":"^18.3.1","superjson":"^2.2.1","@tanstack/react-query":"^5.51.1","@lukemorales/query-key-factory":"^1.3.4"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^5.3.3","rimraf":"^6.0.1","publint":"^0.2.8","typescript":"^5.5.3","@babel/core":"^7.24.8","@types/react":"^18.3.3","vite-plugin-dts":"^3.9.1","@tanstack/config":"^0.9.6","@types/react-dom":"^18.3.0","@babel/preset-env":"^7.24.8","@babel/preset-react":"^7.24.7","@eslint/config-array":"^0.17.0","@eslint/object-schema":"^2.1.4","@babel/preset-typescript":"^7.24.7"},"peerDependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-qstate_0.1.2_1720882614634_0.8937506913319726","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@acoboyz/react-qstate","version":"0.1.3","keywords":["react","react-query","superjson","state management","hooks"],"author":{"name":"acoBOYZ"},"license":"MIT","_id":"@acoboyz/react-qstate@0.1.3","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"homepage":"https://github.com/acoBOYZ","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"dist":{"shasum":"2890d625809f3dce6a8257599c790696ef37bf9a","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-0.1.3.tgz","fileCount":13,"integrity":"sha512-GY6z426N7fMqdiE9e9e8tlfn81hbJOkDITuhnkmKYKrblKHmD+e1Okr8nIvMjgmUCzJ1KAYrq7DZvTBNA0xqfg==","signatures":[{"sig":"MEUCIGSwRQtAoIimLWEhe91mb+9J98JVg1bMQiEwzQ3qrx8CAiEA+Sbi80tQ57IFb1rKqAPbJ06kLzLxGxHe/cz9N/1QynQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16391},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/acoBOYZ","type":"github"},"gitHead":"a5041474a287dcdcbe248f35984ccefe72f90198","scripts":{"lint":"eslint . --ext .js,.jsx,.ts,.tsx","build":"vite build && publint --strict","prepare":"npm run build","release":"tanstack-config publish","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"repository":{"url":"git+https://github.com/acoBOYZ/react-qstate.git","type":"git"},"_npmVersion":"10.8.1","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0","react-dom":"^18.3.1","superjson":"^2.2.1","@tanstack/react-query":"^5.51.1"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^5.3.3","rimraf":"^6.0.1","publint":"^0.2.8","typescript":"^5.5.3","@babel/core":"^7.24.8","@types/react":"^18.3.3","vite-plugin-dts":"^3.9.1","@tanstack/config":"^0.9.6","@types/react-dom":"^18.3.0","@babel/preset-env":"^7.24.8","@babel/preset-react":"^7.24.7","@eslint/config-array":"^0.17.0","@eslint/object-schema":"^2.1.4","@babel/preset-typescript":"^7.24.7"},"peerDependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-qstate_0.1.3_1720884310999_0.9505250340619107","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@acoboyz/react-qstate","version":"0.1.4","keywords":["react","react-query","superjson","state management","hooks"],"author":{"name":"acoBOYZ"},"license":"MIT","_id":"@acoboyz/react-qstate@0.1.4","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"homepage":"https://github.com/acoBOYZ","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"dist":{"shasum":"1621137e48adf32e7f8cd8a6a68eac3bbcb0a789","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-0.1.4.tgz","fileCount":13,"integrity":"sha512-O6mU9FK0gJYImA5y1/1f+fZG2SmVD1nYOcggJWb5Js5iFs0UClU/bGzCux2SS4oA6R3X5CkADidZNpp7uv5pRA==","signatures":[{"sig":"MEYCIQDBSPRPx0PeakFNRavACY/x4IIr51KiwETjRvtk7BsnkgIhAKPVqYMsIkZNqCT/rOcfPz6UL7ENA7Cqq0VbXXNZvXAk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20145},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/acoBOYZ","type":"github"},"gitHead":"a5041474a287dcdcbe248f35984ccefe72f90198","scripts":{"lint":"eslint . --ext .js,.jsx,.ts,.tsx","build":"vite build && publint --strict","prepare":"npm run build","release":"tanstack-config publish","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"repository":{"url":"git+https://github.com/acoBOYZ/react-qstate.git","type":"git"},"_npmVersion":"10.8.1","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0","react-dom":"^18.3.1","superjson":"^2.2.1","@tanstack/react-query":"^5.51.1"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^5.3.3","rimraf":"^6.0.1","publint":"^0.2.8","typescript":"^5.5.3","@babel/core":"^7.24.8","@types/react":"^18.3.3","vite-plugin-dts":"^3.9.1","@tanstack/config":"^0.9.6","@types/react-dom":"^18.3.0","@babel/preset-env":"^7.24.8","@babel/preset-react":"^7.24.7","@eslint/config-array":"^0.17.0","@eslint/object-schema":"^2.1.4","@babel/preset-typescript":"^7.24.7"},"peerDependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-qstate_0.1.4_1720896749857_0.06829726336584097","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@acoboyz/react-qstate","version":"0.1.5","keywords":["react","react-query","superjson","state management","hooks"],"author":{"name":"acoBOYZ"},"license":"MIT","_id":"@acoboyz/react-qstate@0.1.5","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"homepage":"https://github.com/acoBOYZ","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"dist":{"shasum":"8ef047e409507ea58c42dc1e5ee13c396c1e62ec","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-0.1.5.tgz","fileCount":13,"integrity":"sha512-5zmQK22KsbbUw6RJ5lUvoHNzzvVDaJj0LKfBU5R0qr0c4bqtk4R6VgrHLNn0NZBfb0f1jFqQaQ5+pwqf8ApWSw==","signatures":[{"sig":"MEUCIDEaAU6Wv/wyXWOvv4XwmkYvTlYRpikiR/8rDjcScHw4AiEAi1bb1zHKl78igBat3IgaQFxKgs/jqf1/LKQ1qRHkyms=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20007},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/acoBOYZ","type":"github"},"gitHead":"a5041474a287dcdcbe248f35984ccefe72f90198","scripts":{"lint":"eslint . --ext .js,.jsx,.ts,.tsx","build":"vite build && publint --strict","prepare":"npm run build","release":"tanstack-config publish","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"repository":{"url":"git+https://github.com/acoBOYZ/react-qstate.git","type":"git"},"_npmVersion":"10.8.1","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0","react-dom":"^18.3.1","superjson":"^2.2.1","@tanstack/react-query":"^5.51.1"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^5.3.3","rimraf":"^6.0.1","publint":"^0.2.8","typescript":"^5.5.3","@babel/core":"^7.24.8","@types/react":"^18.3.3","vite-plugin-dts":"^3.9.1","@tanstack/config":"^0.9.6","@types/react-dom":"^18.3.0","@babel/preset-env":"^7.24.8","@babel/preset-react":"^7.24.7","@eslint/config-array":"^0.17.0","@eslint/object-schema":"^2.1.4","@babel/preset-typescript":"^7.24.7"},"peerDependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-qstate_0.1.5_1720899069493_0.17849543431124082","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"@acoboyz/react-qstate","version":"0.1.6","keywords":["react","react-query","superjson","state management","hooks"],"author":{"name":"acoBOYZ"},"license":"MIT","_id":"@acoboyz/react-qstate@0.1.6","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"homepage":"https://github.com/acoBOYZ","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"dist":{"shasum":"67aee4f88a25f1a5cef6e1dc792cd564d04d305f","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-0.1.6.tgz","fileCount":13,"integrity":"sha512-5466lfqjlZ3FUV+jTQPCcGad7bCsxHUoM37O8BPE1qCaZAjNPC2gP663EEpaufwCe4MlhyIDr7eLdgB5OtEXFg==","signatures":[{"sig":"MEYCIQCXA/pVa7CDf/xc3Pv4PlmZtMRseoeRcPg3AnlAwWpujQIhAKXIDA86BUvXIii7kBRIcmKZiBetpma82onGzD3IeVBg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20142},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/acoBOYZ","type":"github"},"gitHead":"a5041474a287dcdcbe248f35984ccefe72f90198","scripts":{"lint":"eslint . --ext .js,.jsx,.ts,.tsx","build":"vite build && publint --strict","prepare":"npm run build","release":"tanstack-config publish","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"repository":{"url":"git+https://github.com/acoBOYZ/react-qstate.git","type":"git"},"_npmVersion":"10.8.2","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"react":"^18.3.1","react-dom":"^18.3.1","superjson":"^2.2.1","@tanstack/react-query":"^5.56.2"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^5.4.8","rimraf":"^6.0.1","publint":"^0.2.11","typescript":"^5.6.2","@babel/core":"^7.25.2","@types/react":"^18.3.10","vite-plugin-dts":"^4.2.2","@tanstack/config":"^0.13.3","@types/react-dom":"^18.3.0","@babel/preset-env":"^7.25.4","@babel/preset-react":"^7.24.7","@eslint/config-array":"^0.18.0","@eslint/object-schema":"^2.1.4","@babel/preset-typescript":"^7.24.7"},"peerDependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-qstate_0.1.6_1727588816179_0.0913419024453439","host":"s3://npm-registry-packages"}},"0.1.7":{"name":"@acoboyz/react-qstate","version":"0.1.7","keywords":["react","react-query","superjson","state management","hooks"],"author":{"name":"acoBOYZ"},"license":"MIT","_id":"@acoboyz/react-qstate@0.1.7","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"homepage":"https://github.com/acoBOYZ","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"dist":{"shasum":"0be4fab0cf1dbad939d3bc006d508a6fa518c3b7","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-0.1.7.tgz","fileCount":14,"integrity":"sha512-PKRIHG6DwyodfNsr0tjmgXoGvAcqazRCxc8JE3xTYSWseuWiayJJSYLzIqds+c1YhOYWV5gI+k6j37dppttnFw==","signatures":[{"sig":"MEUCIQCF4fxCyK0BzGM1GSgqWgyEYUp/x1g8PEK14yLfEvPz5gIgKyoIgoMmCvpdmrVwjM2CIb8ZtKtT2SKN+UHPQOgudE4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26857},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/acoBOYZ","type":"github"},"gitHead":"50fb34946aad4a6c8a1e5ebbf76f8d86c89b638c","scripts":{"lint":"eslint . --ext .js,.jsx,.ts,.tsx","build":"vite build && publint --strict","prepare":"npm run build","release":"tanstack-config publish","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"repository":{"url":"git+https://github.com/acoBOYZ/react-qstate.git","type":"git"},"_npmVersion":"10.8.2","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"react":"^18.3.1","react-dom":"^18.3.1","superjson":"^2.2.1","@tanstack/react-query":"^5.56.2"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^5.4.8","rimraf":"^6.0.1","publint":"^0.2.11","typescript":"^5.6.2","@babel/core":"^7.25.2","@types/react":"^18.3.10","vite-plugin-dts":"^4.2.2","@tanstack/config":"^0.13.3","@types/react-dom":"^18.3.0","@babel/preset-env":"^7.25.4","@babel/preset-react":"^7.24.7","@eslint/config-array":"^0.18.0","@eslint/object-schema":"^2.1.4","@babel/preset-typescript":"^7.24.7"},"peerDependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-qstate_0.1.7_1727593281710_0.2612401566148821","host":"s3://npm-registry-packages"}},"0.1.8":{"name":"@acoboyz/react-qstate","version":"0.1.8","keywords":["react","react-query","superjson","state management","hooks"],"author":{"name":"acoBOYZ"},"license":"MIT","_id":"@acoboyz/react-qstate@0.1.8","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"homepage":"https://github.com/acoBOYZ","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"dist":{"shasum":"9b79c4350e90ecdbb215e8c7fe30d8519b099667","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-0.1.8.tgz","fileCount":14,"integrity":"sha512-qIOkCacCegBSosbQVoj/42r5yeBXjMFCVfFulhRL8HFwiGbYXIn/IJQQ6IWLoc0pJ4v1bICTXfSrUpOpMLSIpA==","signatures":[{"sig":"MEMCIGd9Z2sZtj2z2JSo/oyXRAyI3hCw7ZEwBAjZMY3ASMv3Ah9lZsPWG9D2aMw+SaYbJRI/fzb7VbFXvP6FEAQISSK8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26916},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/acoBOYZ","type":"github"},"gitHead":"dec461bb873c3fe19f77e476c6cd6b5c4b3e1757","scripts":{"lint":"eslint . --ext .js,.jsx,.ts,.tsx","build":"vite build && publint --strict","prepare":"npm run build","release":"tanstack-config publish","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"repository":{"url":"git+https://github.com/acoBOYZ/react-qstate.git","type":"git"},"_npmVersion":"10.8.2","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"react":"^18.3.1","react-dom":"^18.3.1","superjson":"^2.2.1","@tanstack/react-query":"^5.56.2"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^5.4.8","eslint":"^8.57.1","rimraf":"^6.0.1","publint":"^0.2.11","typescript":"^5.6.2","@babel/core":"^7.25.2","@types/react":"^18.3.10","vite-plugin-dts":"^4.2.2","@tanstack/config":"^0.13.3","@types/react-dom":"^18.3.0","@babel/preset-env":"^7.25.4","eslint-plugin-json":"^4.0.1","@babel/preset-react":"^7.24.7","@babel/preset-typescript":"^7.24.7","@typescript-eslint/parser":"^8.7.0","eslint-plugin-react-hooks":"^4.6.2","eslint-plugin-react-refresh":"^0.4.12","@typescript-eslint/eslint-plugin":"^8.7.0"},"peerDependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-qstate_0.1.8_1727697736909_0.23936751201424467","host":"s3://npm-registry-packages"}},"0.1.9":{"name":"@acoboyz/react-qstate","version":"0.1.9","keywords":["react","react-query","superjson","state management","hooks"],"author":{"name":"acoBOYZ"},"license":"MIT","_id":"@acoboyz/react-qstate@0.1.9","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"homepage":"https://github.com/acoBOYZ","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"dist":{"shasum":"162fdab452b8d9d984414e320faf72aefba36b44","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-0.1.9.tgz","fileCount":14,"integrity":"sha512-GcOp2vuSvO4aDmV3r4OxuhwaOFRXL0oXCcrtvUo/t50GHjtxBnPMLYKTpxKdbdQwjxhRf5QFBHZJ0w5kKlTrdg==","signatures":[{"sig":"MEUCIEFXZfMBZkYdvsk4Po1r3kxKaaVIeN9wWAYhFlg6+1n+AiEAj8KpBQduQXW4akicnSJg9zZzJ/iul2p7O3JN6f5FB1g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26916},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/acoBOYZ","type":"github"},"gitHead":"0b8ff8d1a503708fb6eb0a0a8aef4234628b638f","scripts":{"lint":"eslint . --ext .js,.jsx,.ts,.tsx","build":"vite build && publint --strict","prepare":"npm run build","release":"tanstack-config publish","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"repository":{"url":"git+https://github.com/acoBOYZ/react-qstate.git","type":"git"},"_npmVersion":"10.8.2","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"react":"^18.3.1","react-dom":"^18.3.1","superjson":"^2.2.1","@tanstack/react-query":"^5.59.0"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^5.4.8","eslint":"^8.57.1","rimraf":"^6.0.1","publint":"^0.2.11","typescript":"^5.6.2","@babel/core":"^7.25.2","@types/react":"^18.3.10","vite-plugin-dts":"^4.2.3","@tanstack/config":"^0.13.3","@types/react-dom":"^18.3.0","@babel/preset-env":"^7.25.4","eslint-plugin-json":"^4.0.1","@babel/preset-react":"^7.24.7","@babel/preset-typescript":"^7.24.7","@typescript-eslint/parser":"^8.8.0","eslint-plugin-react-hooks":"^4.6.2","eslint-plugin-react-refresh":"^0.4.12","@typescript-eslint/eslint-plugin":"^8.8.0"},"peerDependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-qstate_0.1.9_1727833361934_0.5468782804339014","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@acoboyz/react-qstate","version":"0.2.0","keywords":["react","react-query","superjson","state management","hooks"],"author":{"name":"acoBOYZ"},"license":"MIT","_id":"@acoboyz/react-qstate@0.2.0","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"homepage":"https://github.com/acoBOYZ","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"dist":{"shasum":"fca9c2b59203adb6291817474c2cca0cbfea7185","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-0.2.0.tgz","fileCount":14,"integrity":"sha512-77n+HltOlywtMdlZZ5HNl1R7w5O/turtlWp7pl4bzwlHaQPLHx3mdd2raGekNMJjGRPBk9t51HhqLcbfgCMdNQ==","signatures":[{"sig":"MEUCIBhY+PsdVUm5KcR2hvhnh+F0Ho9GQfdIvSpEWc5mfzkEAiEAnAj9bigcgxCwfAeRgsDOhYW/xmtECiE4jIYWDALyRts=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27265},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/acoBOYZ","type":"github"},"gitHead":"0b8ff8d1a503708fb6eb0a0a8aef4234628b638f","scripts":{"lint":"eslint . --ext .js,.jsx,.ts,.tsx","build":"vite build && publint --strict","prepare":"npm run build","release":"tanstack-config publish","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"repository":{"url":"git+https://github.com/acoBOYZ/react-qstate.git","type":"git"},"_npmVersion":"10.8.2","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"react":"^18.3.1","react-dom":"^18.3.1","superjson":"^2.2.1","@tanstack/react-query":"^5.59.9"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^5.4.8","eslint":"^8.57.1","rimraf":"^6.0.1","publint":"^0.2.11","typescript":"^5.6.3","@babel/core":"^7.25.8","@types/react":"^18.3.11","vite-plugin-dts":"^4.2.3","@tanstack/config":"^0.13.4","@types/react-dom":"^18.3.0","@babel/preset-env":"^7.25.8","eslint-plugin-json":"^4.0.1","@babel/preset-react":"^7.25.7","@babel/preset-typescript":"^7.25.7","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","eslint-plugin-react-refresh":"^0.4.12","@typescript-eslint/eslint-plugin":"^8.8.1"},"peerDependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-qstate_0.2.0_1728597427341_0.7403914769051154","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@acoboyz/react-qstate","version":"0.2.1","keywords":["react","react-query","superjson","state management","hooks"],"author":{"name":"acoBOYZ"},"license":"MIT","_id":"@acoboyz/react-qstate@0.2.1","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"homepage":"https://github.com/acoBOYZ","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"dist":{"shasum":"75f2bd500ca679afb1863590d4ee5df780f5f73c","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-0.2.1.tgz","fileCount":14,"integrity":"sha512-7RczMzqp4cahkjwJbyUlKlD4se+YNQWDieIL/qTVBN9+p8AKkXj6Q2oEUJrS6PoYmvMKw2S2qlhwOzezBR4dbQ==","signatures":[{"sig":"MEUCIQCyfNTjRI9EHntP7yi1ykN6HFXGgPZDvXoHt0kW7q9bsgIgC6V5DnYQV6NdTUIMHZA6g+xGtZYTCjqAc4pOx9IHK2k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26916},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/acoBOYZ","type":"github"},"gitHead":"68670f238d04df43a2bb4422f2c5253edec31deb","scripts":{"lint":"eslint . --ext .js,.jsx,.ts,.tsx","build":"vite build && publint --strict","prepare":"npm run build","release":"tanstack-config publish","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"repository":{"url":"git+https://github.com/acoBOYZ/react-qstate.git","type":"git"},"_npmVersion":"10.8.2","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"react":"^18.3.1","react-dom":"^18.3.1","superjson":"^2.2.1","@tanstack/react-query":"^5.59.9"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^5.4.8","eslint":"^8.57.1","rimraf":"^6.0.1","publint":"^0.2.11","typescript":"^5.6.3","@babel/core":"^7.25.8","@types/react":"^18.3.11","vite-plugin-dts":"^4.2.3","@tanstack/config":"^0.13.4","@types/react-dom":"^18.3.0","@babel/preset-env":"^7.25.8","eslint-plugin-json":"^4.0.1","@babel/preset-react":"^7.25.7","@babel/preset-typescript":"^7.25.7","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^4.6.2","eslint-plugin-react-refresh":"^0.4.12","@typescript-eslint/eslint-plugin":"^8.8.1"},"peerDependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-qstate_0.2.1_1728597790655_0.947141676331934","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"@acoboyz/react-qstate","version":"0.2.2","keywords":["react","react-query","superjson","state management","hooks"],"author":{"name":"acoBOYZ"},"license":"MIT","_id":"@acoboyz/react-qstate@0.2.2","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"homepage":"https://github.com/acoBOYZ","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"dist":{"shasum":"54499df7051a2f0eb277b43e9d590f129646b5d9","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-0.2.2.tgz","fileCount":14,"integrity":"sha512-DuJiEBMp70+T5Kh3In03ZJwOqPnXg6Ha+YdNJ+g5wiYjFOmxBU5s7j5UPlVaWCVO4Pj5wyyNCE7JWbMmexdZOg==","signatures":[{"sig":"MEQCIE+DnM//JnK6C6SSplDTJjRaOGe9BofE8MYCdhj9q+BRAiBQFnGe6n2CzI1E6d9LKl1MahS+5qSvdlVEZu7PJUAB8Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27341},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/acoBOYZ","type":"github"},"gitHead":"83d0dfd6bf78d37169e7ff1455dbec714f9fd7ec","scripts":{"lint":"eslint . --ext .js,.jsx,.ts,.tsx","build":"vite build && publint --strict","prepare":"npm run build","release":"tanstack-config publish","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"repository":{"url":"git+https://github.com/acoBOYZ/react-qstate.git","type":"git"},"_npmVersion":"10.8.2","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"react":"^18.3.1","react-dom":"^18.3.1","superjson":"^2.2.1","@tanstack/react-query":"^5.59.13"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^5.4.8","eslint":"^8.57.1","rimraf":"^6.0.1","publint":"^0.2.11","typescript":"^5.6.3","@babel/core":"^7.25.8","@types/react":"^18.3.11","vite-plugin-dts":"^4.2.4","@tanstack/config":"^0.13.4","@types/react-dom":"^18.3.1","@babel/preset-env":"^7.25.8","eslint-plugin-json":"^4.0.1","@babel/preset-react":"^7.25.7","@babel/preset-typescript":"^7.25.7","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-react-refresh":"^0.4.12","@typescript-eslint/eslint-plugin":"^8.8.1"},"peerDependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-qstate_0.2.2_1728764234989_0.8925873228493906","host":"s3://npm-registry-packages"}},"0.2.3":{"name":"@acoboyz/react-qstate","version":"0.2.3","keywords":["react","react-query","superjson","state management","hooks"],"author":{"name":"acoBOYZ"},"license":"MIT","_id":"@acoboyz/react-qstate@0.2.3","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"homepage":"https://github.com/acoBOYZ","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"dist":{"shasum":"78cc53d42104fbf6310117ecba5e45d1c7a83d17","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-0.2.3.tgz","fileCount":14,"integrity":"sha512-GovvELYmZUBsI03mFXW08/E5Y2CeoZGSNXFyhre/M8GsVZgEM9HBZEj2KFA4jgaBtqP12jObVVnttbkEBF3Mxw==","signatures":[{"sig":"MEUCIClj8R6AKxUXfDII1vM6MWhL4e+ZLofqIGvLqnVhPnj1AiEA5JH9NnB4E4IeJtD9Nk8iz1o1+N72MJAUbnFTnbo0kgc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27712},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/acoBOYZ","type":"github"},"gitHead":"83d0dfd6bf78d37169e7ff1455dbec714f9fd7ec","scripts":{"lint":"eslint . --ext .js,.jsx,.ts,.tsx","build":"vite build && publint --strict","prepare":"npm run build","release":"tanstack-config publish","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"repository":{"url":"git+https://github.com/acoBOYZ/react-qstate.git","type":"git"},"_npmVersion":"10.8.2","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"react":"^18.3.1","react-dom":"^18.3.1","superjson":"^2.2.1","@tanstack/react-query":"^5.59.13"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^5.4.8","eslint":"^8.57.1","rimraf":"^6.0.1","publint":"^0.2.11","typescript":"^5.6.3","@babel/core":"^7.25.8","@types/react":"^18.3.11","vite-plugin-dts":"^4.2.4","@tanstack/config":"^0.13.4","@types/react-dom":"^18.3.1","@babel/preset-env":"^7.25.8","eslint-plugin-json":"^4.0.1","@babel/preset-react":"^7.25.7","@babel/preset-typescript":"^7.25.7","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-react-refresh":"^0.4.12","@typescript-eslint/eslint-plugin":"^8.8.1"},"peerDependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-qstate_0.2.3_1728765288558_0.7492739945070772","host":"s3://npm-registry-packages"}},"0.2.4":{"name":"@acoboyz/react-qstate","version":"0.2.4","keywords":["react","react-query","superjson","state management","hooks"],"author":{"name":"acoBOYZ"},"license":"MIT","_id":"@acoboyz/react-qstate@0.2.4","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"homepage":"https://github.com/acoBOYZ","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"dist":{"shasum":"4069edc61fcc5d71c6fc7a3d1a44f2f8a64e3ff2","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-0.2.4.tgz","fileCount":14,"integrity":"sha512-E5QrCFmv7A/lFlSN6kzNUjiltMG2z5pyKTrSE23c1S4Plvp7kIIK98IjP2xJQ0RJrWJBdqos/McjrmUEdR/y0A==","signatures":[{"sig":"MEUCIQDHFWdm8Sd1v2NshL/GZaviIeuvFwmqaIfdEQJY73pDEQIgZoJLU4nUMJFVJIFKn0GAakGptZ+vnH20Ep+75O+zLtg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28323},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/acoBOYZ","type":"github"},"gitHead":"13694b091a7606297ff9d74acc5709a4454016a9","scripts":{"lint":"eslint . --ext .js,.jsx,.ts,.tsx","build":"vite build && publint --strict","prepare":"npm run build","release":"tanstack-config publish","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"repository":{"url":"git+https://github.com/acoBOYZ/react-qstate.git","type":"git"},"_npmVersion":"10.8.2","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"react":"^18.3.1","react-dom":"^18.3.1","superjson":"^2.2.1","@tanstack/react-query":"^5.59.13"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^5.4.8","eslint":"^8.57.1","rimraf":"^6.0.1","publint":"^0.2.11","typescript":"^5.6.3","@babel/core":"^7.25.8","@types/react":"^18.3.11","vite-plugin-dts":"^4.2.4","@tanstack/config":"^0.13.4","@types/react-dom":"^18.3.1","@babel/preset-env":"^7.25.8","eslint-plugin-json":"^4.0.1","@babel/preset-react":"^7.25.7","@babel/preset-typescript":"^7.25.7","@typescript-eslint/parser":"^8.8.1","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-react-refresh":"^0.4.12","@typescript-eslint/eslint-plugin":"^8.8.1"},"peerDependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-qstate_0.2.4_1728766366481_0.7721941000988926","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@acoboyz/react-qstate","version":"1.0.0","keywords":["react","react-query","superjson","state management","hooks"],"author":{"name":"acoBOYZ"},"license":"MIT","_id":"@acoboyz/react-qstate@1.0.0","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"homepage":"https://github.com/acoBOYZ","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"dist":{"shasum":"6dd035b86057923fc7a2ec51770ae410b9fdc787","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-1.0.0.tgz","fileCount":14,"integrity":"sha512-L3sICIKhW7Q8Tn8Dg2ita0VY8whdSkoLM5xT2oD3fBfrDJl9o0wmPy9rZizFWjgq66mRSztm8/jj9+zFaeunIw==","signatures":[{"sig":"MEQCIGtYxAWcPCMV3UCA66DHGZz2xCEulF+Q913P2oOZtK4uAiACoLp1vD8q86lGJ9B5mi0bOVkxM/66eQ4Sy4+ZEiVGYA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28295},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/acoBOYZ","type":"github"},"gitHead":"c936bb6d0f05855a624cd2d6653d403966691630","scripts":{"lint":"eslint . --ext .js,.jsx,.ts,.tsx","build":"vite build && publint --strict","prepare":"npm run build","release":"tanstack-config publish","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"repository":{"url":"git+https://github.com/acoBOYZ/react-qstate.git","type":"git"},"_npmVersion":"10.8.2","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","directories":{},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"react":"^18.3.1","react-dom":"^18.3.1","superjson":"^2.2.1","@tanstack/react-query":"^5.59.15"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^5.4.9","eslint":"^8.57.1","rimraf":"^6.0.1","publint":"^0.2.11","typescript":"^5.6.3","@babel/core":"^7.25.8","@types/react":"^18.3.11","vite-plugin-dts":"^4.2.4","@tanstack/config":"^0.13.4","@types/react-dom":"^18.3.1","@babel/preset-env":"^7.25.8","eslint-plugin-json":"^4.0.1","@babel/preset-react":"^7.25.7","@babel/preset-typescript":"^7.25.7","@typescript-eslint/parser":"^8.10.0","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-react-refresh":"^0.4.13","@typescript-eslint/eslint-plugin":"^8.10.0"},"peerDependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-qstate_1.0.0_1729476090770_0.44957413136442415","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@acoboyz/react-qstate","version":"1.0.1","keywords":["react","react-query","state management","hooks"],"author":{"name":"acoBOYZ"},"license":"MIT","_id":"@acoboyz/react-qstate@1.0.1","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"homepage":"https://github.com/acoBOYZ","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"dist":{"shasum":"8f4b7caf0a7900afbe830e5c42482ea50fd5d997","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-1.0.1.tgz","fileCount":10,"integrity":"sha512-SeDZE9oDoEtkSdlHRt4vPn0Dm+DM+rYT+3YTooKocpB7K9a3QzJRyT3tVhgfSMBy9U3fdPYOawBF5m00gBF+Ng==","signatures":[{"sig":"MEUCIQDF6exbYVYwCabK5NVyM+KhzRW2bUMbTfccfxxOIX64NwIgNxF3wR97+ROAIC/27uECPCKDw634HTp2UHFV0xXbE6E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23126},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/acoBOYZ","type":"github"},"gitHead":"d0d9f9e5ba136a7d6c3b9a2955c4b9652a88f92f","scripts":{"lint":"eslint . --ext .js,.jsx,.ts,.tsx","build":"vite build && publint --strict","prepare":"npm run build","release":"tanstack-config publish","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"repository":{"url":"git+https://github.com/acoBOYZ/react-qstate.git","type":"git"},"_npmVersion":"10.8.2","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","directories":{},"sideEffects":false,"_nodeVersion":"20.18.0","dependencies":{"react":"^18.3.1","react-dom":"^18.3.1","@tanstack/react-query":"^5.59.15"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.17.1","glob":"^11.0.0","vite":"^5.4.9","rimraf":"^6.0.1","publint":"^0.2.11","typescript":"^5.6.3","@babel/core":"^7.25.8","@types/react":"^18.3.11","vite-plugin-dts":"^4.2.4","@tanstack/config":"^0.13.4","@types/react-dom":"^18.3.1","@babel/preset-env":"^7.25.8","@babel/preset-react":"^7.25.7","@babel/preset-typescript":"^7.25.7"},"peerDependencies":{"react":"^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-qstate_1.0.1_1730724002747_0.19125980342719529","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@acoboyz/react-qstate","version":"1.0.2","keywords":["react","react-query","state management","hooks"],"author":{"name":"acoBOYZ"},"license":"MIT","_id":"@acoboyz/react-qstate@1.0.2","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"homepage":"https://github.com/acoBOYZ","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"dist":{"shasum":"6c5f4a4f0328ebd58fb93c3afb803886ada2d657","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-1.0.2.tgz","fileCount":10,"integrity":"sha512-8DVWvy6SppbBTJxZ3xqUwnK+HkMuTIF5tPgq3qub50tTGqyYDcB4iNkZyUcbuAHu4vkGSGQ2YarqU0TiTMbsYQ==","signatures":[{"sig":"MEQCIAC4wINl0P0u/9sgTDtC3yGNpblJC0Dh2U6LT8XDWjiHAiB/6I6O/mpuCCgWxak19JQGjTLdnBlO9EUp7BdJrjPNWg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22823},"main":"dist/cjs/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":{"url":"https://github.com/acoBOYZ","type":"github"},"gitHead":"d0d9f9e5ba136a7d6c3b9a2955c4b9652a88f92f","scripts":{"lint":"eslint . --ext .js,.jsx,.ts,.tsx","build":"vite build && publint --strict","prepare":"npm run build","release":"tanstack-config publish","version":"npm run format && git add -A src","preversion":"npm run lint","postversion":"git push && git push --tags","prepublishOnly":"npm run build"},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"repository":{"url":"git+https://github.com/acoBOYZ/react-qstate.git","type":"git"},"_npmVersion":"10.8.2","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","directories":{},"sideEffects":false,"_nodeVersion":"20.18.0","dependencies":{"react":"^18.3.1","react-dom":"^18.3.1","@tanstack/react-query":"^5.59.19"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.17.1","glob":"^11.0.0","vite":"^5.4.10","rimraf":"^6.0.1","publint":"^0.2.12","typescript":"^5.6.3","@babel/core":"^7.26.0","@types/react":"^18.3.12","vite-plugin-dts":"^4.3.0","@tanstack/config":"^0.13.4","@types/react-dom":"^18.3.1","@babel/preset-env":"^7.26.0","@babel/preset-react":"^7.25.9","@babel/preset-typescript":"^7.26.0"},"peerDependencies":{"react":"^17 || ^18 || ^19"},"_npmOperationalInternal":{"tmp":"tmp/react-qstate_1.0.2_1730725543911_0.12259340168149646","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@acoboyz/react-qstate","version":"1.0.3","description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","author":{"name":"acoBOYZ"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/acoBOYZ/react-qstate.git"},"homepage":"https://github.com/acoBOYZ","funding":{"type":"github","url":"https://github.com/acoBOYZ"},"type":"module","main":"dist/cjs/index.cjs","module":"dist/esm/index.js","types":"dist/index.d.ts","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"sideEffects":false,"scripts":{"build":"vite build && publint --strict","lint":"eslint . --ext .js,.jsx,.ts,.tsx","prepare":"npm run build","prepublishOnly":"npm run build","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags","release":"tanstack-config publish"},"keywords":["react","react-query","state management","hooks"],"dependencies":{"@tanstack/react-query":"^5.59.19","react":"^18.3.1","react-dom":"^18.3.1"},"devDependencies":{"@babel/core":"^7.26.0","@babel/preset-env":"^7.26.0","@babel/preset-react":"^7.25.9","@babel/preset-typescript":"^7.26.0","@tanstack/config":"^0.13.4","@types/react":"^18.3.12","@types/react-dom":"^18.3.1","ajv":"^8.17.1","glob":"^11.0.0","publint":"^0.2.12","rimraf":"^6.0.1","typescript":"^5.6.3","vite":"^5.4.10","vite-plugin-dts":"^4.3.0"},"peerDependencies":{"react":"^17 || ^18 || ^19"},"_id":"@acoboyz/react-qstate@1.0.3","gitHead":"6bdc750199211ca6cdd32879c77089f02a24e8e8","bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"_nodeVersion":"20.18.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-up1WVZBaNUt2lYO+kELqSD0gLSC5zgXS8kdEXRm70R349k2A0BvbdUSDum8aoQPiNWKSFMqBLwSpBVEukhAoFg==","shasum":"64326b6d669ada49c69b928e898b110043a19332","tarball":"https://registry.npmjs.org/@acoboyz/react-qstate/-/react-qstate-1.0.3.tgz","fileCount":10,"unpackedSize":22310,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZLNeWojrPnrhyKOiD2mItteseP2nIoX1HBeM12xfHngIhAOsIyN83EsbWM1T7gQZKanclpExBRkOxxICElQULmoXy"}]},"_npmUser":{"name":"acoboyz","email":"acvdtozturk@gmail.com"},"directories":{},"maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-qstate_1.0.3_1730726125128_0.8204568981430131"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-13T02:26:05.728Z","modified":"2024-11-04T13:15:25.466Z","0.1.0":"2024-07-13T02:26:05.962Z","0.1.1":"2024-07-13T07:40:08.563Z","0.1.2":"2024-07-13T14:56:54.769Z","0.1.3":"2024-07-13T15:25:11.157Z","0.1.4":"2024-07-13T18:52:30.030Z","0.1.5":"2024-07-13T19:31:09.657Z","0.1.6":"2024-09-29T05:46:56.373Z","0.1.7":"2024-09-29T07:01:21.902Z","0.1.8":"2024-09-30T12:02:17.090Z","0.1.9":"2024-10-02T01:42:42.108Z","0.2.0":"2024-10-10T21:57:07.557Z","0.2.1":"2024-10-10T22:03:10.901Z","0.2.2":"2024-10-12T20:17:15.189Z","0.2.3":"2024-10-12T20:34:48.814Z","0.2.4":"2024-10-12T20:52:46.759Z","1.0.0":"2024-10-21T02:01:30.987Z","1.0.1":"2024-11-04T12:40:02.918Z","1.0.2":"2024-11-04T13:05:44.080Z","1.0.3":"2024-11-04T13:15:25.298Z"},"bugs":{"url":"https://github.com/acoBOYZ/react-qstate/issues"},"author":{"name":"acoBOYZ"},"license":"MIT","homepage":"https://github.com/acoBOYZ","keywords":["react","react-query","state management","hooks"],"repository":{"type":"git","url":"git+https://github.com/acoBOYZ/react-qstate.git"},"description":"QueryHook for managing, caching and syncing asynchronous and remote data in React powered by @tanstack/react-query","maintainers":[{"name":"acoboyz","email":"acvdtozturk@gmail.com"}],"readme":"# useQState - A Custom State Management Hook with TanStack Query\n\n`useQState` is a custom React hook that simplifies state management by leveraging [TanStack Query](https://tanstack.com/query/latest). It offers an efficient way to manage both global and local state with automatic serialization of complex data types, all while taking advantage of TanStack Query's powerful caching capabilities.\n\n## Features\n\n- **Seamless State Management**: Manage state across your React application without additional state management libraries.\n- **Performance Optimizations**: Benefit from TanStack Query's caching and performance features.\n- **Intuitive API**: Familiar API similar to React's useState hook.\n\n## Installation\n\nFirst, ensure you have React, TanStack Query:\n\n```bash\nnpm install @tanstack/react-query @acoboyz/react-qstate\n```\n\n## Setup\nBefore using useQState, you need to set up the QueryClient and wrap your application with the QueryClientProvider from TanStack Query.\n\n```tsx\nimport React from 'react';\nimport { QueryClient, QueryClientProvider } from '@tanstack/react-query';\n\nconst queryClient = new QueryClient();\n\nfunction App() {\n  return (\n    <QueryClientProvider client={queryClient}>\n      {/* Your app components go here */}\n    </QueryClientProvider>\n  );\n}\n\nexport default App;\n```\n\n## Usage\n\n#### Importing the Hook\n```tsx\nimport { useQState } from '@acoboyz/react-qstate';\n```\n\n#### Basic Example\n```tsx\nimport React from 'react';\nimport { useQState } from '@acoboyz/react-qstate';\n\nfunction Counter() {\n  const [count, setCount, resetCount] = useQState<number>(['counter'], 0);\n\n  return (\n    <div>\n      <p>Count: {count}</p>\n      <button onClick={() => setCount(prev => prev + 1)}>Increment</button>\n      <button onClick={resetCount}>Reset</button>\n    </div>\n  );\n}\n```\n\n#### Managing Complex Data Types\n`useQState` automatically serializes and deserializes complex data types like objects and arrays.\n\n```tsx\nimport React from 'react';\nimport { useQState } from '@acoboyz/react-qstate';\n\ninterface UserProfile {\n  id: number;\n  name: string;\n  email: string;\n}\n\nfunction Profile() {\n  const [user, setUser, resetUser] = useQState<UserProfile | null>(['userProfile'], null);\n\n  const updateEmail = (email: string) => {\n    setUser(prevUser => prevUser ? { ...prevUser, email } : null);\n  };\n\n  return (\n    <div>\n      {user ? (\n        <>\n          <h1>{user.name}</h1>\n          <p>{user.email}</p>\n          <button onClick={() => updateEmail('newemail@example.com')}>Update Email</button>\n        </>\n      ) : (\n        <p>No user data available.</p>\n      )}\n      <button onClick={resetUser}>Reset Profile</button>\n    </div>\n  );\n}\n```\n\n#### Resetting State\nYou can reset the state to its initial value using the `resetState` function.\n\n```tsx\nconst [state, setState, resetState] = useQState(['myStateKey'], initialValue);\n\n// To reset the state\nresetState();\n```\n\n## How It Works\n\nThe `useQState` hook uses TanStack Query to manage stateful data to serialize and deserialize complex data types. Here's a brief overview:\n\n- **State Initialization**: When you first call `useQState`, it initializes the state with the provided `initialData`.\n- **Caching**: TanStack Query caches the state data, allowing for efficient updates and retrievals.\n- **State Updates**: Use the `setState` function to update the state. It supports both direct updates and updater functions (like React's `setState`).\n- **State Reset**: The `resetState` function invalidates the query and resets the state to its initial value.\n\n## Benefits\n\n- **Global State Without Additional Libraries**: Manage global state without needing Redux or Context API.\n- **Performance Optimizations**: Leverage TanStack Query's caching to minimize unnecessary re-renders and data fetching.\n- **Simple API**: Designed to be as straightforward as React's built-in hooks.\n\n## Example: Todo List\n\n```tsx\nimport React from 'react';\nimport { useQState } from '@acoboyz/react-qstate';\n\ninterface Todo {\n  id: number;\n  text: string;\n  completed: boolean;\n}\n\nfunction TodoApp() {\n  const [todos, setTodos, resetTodos] = useQState<Todo[]>(['todos'], []);\n\n  const addTodo = (text: string) => {\n    setTodos(prevTodos => [...prevTodos, { id: Date.now(), text, completed: false }]);\n  };\n\n  const toggleTodo = (id: number) => {\n    setTodos(prevTodos =>\n      prevTodos.map(todo => (todo.id === id ? { ...todo, completed: !todo.completed } : todo))\n    );\n  };\n\n  return (\n    <div>\n      <button onClick={() => addTodo('New Task')}>Add Todo</button>\n      <button onClick={resetTodos}>Reset Todos</button>\n      <ul>\n        {todos.map(todo => (\n          <li key={todo.id}>\n            <span\n              onClick={() => toggleTodo(todo.id)}\n              style={{ textDecoration: todo.completed ? 'line-through' : undefined }}\n            >\n              {todo.text}\n            </span>\n          </li>\n        ))}\n      </ul>\n    </div>\n  );\n}\n```\n\n## Advanced Usage\n\n### Using with Local Storage\nIf you want to persist state across browser sessions, you can integrate `localStorage`:\n\n```tsx\nimport { useQState } from '@acoboyz/react-qstate';\n\nfunction usePersistentState<T>(key: string, initialData: T) {\n  const [state, setState, resetState] = useQState<T>([key], initialData);\n\n  React.useEffect(() => {\n    const storedData = localStorage.getItem(key);\n    if (storedData) {\n      setState(JSON.parse(storedData));\n    }\n  }, [key, setState]);\n\n  React.useEffect(() => {\n    localStorage.setItem(key, JSON.stringify(state));\n  }, [key, state]);\n\n  return [state, setState, resetState] as const;\n}\n```\n\n## Contributing\n\nContributions are welcome! Feel free to open issues or submit pull requests on the [GitHub repository](https://github.com/acoBOYZ/react-qstate).\n\n## License\n\nThis project is licensed under the MIT License.\n\n## Acknowledgments\n\n- [TanStack Query](https://tanstack.com/query/latest) for powerful asynchronous state management.\n  \n##\nBy providing this hook, we aim to simplify state management in React applications, making it more efficient and developer-friendly. If you have any questions or need further assistance, please don’t hesitate to reach out.","readmeFilename":"README.md"}