{"_id":"react-reex","_rev":"35-8effff9b6fad1a6ffc05598fbe080337","name":"react-reex","dist-tags":{"latest":"1.2.5"},"versions":{"1.0.3":{"name":"react-reex","version":"1.0.3","keywords":["state","react","react-native","reex","event","store","react-reex"],"author":{"name":"Hery John ANDRIANANJA / nosytech,","email":"hery.a@nosytech.fr"},"license":"MIT","_id":"react-reex@1.0.3","maintainers":[{"name":"heryjohn","email":"hery.a@nosytech.fr"}],"dist":{"shasum":"f1114a8e7b062a101316a71a0404332f11fb578c","tarball":"https://registry.npmjs.org/react-reex/-/react-reex-1.0.3.tgz","fileCount":7,"integrity":"sha512-AHhiYmscxH19fPE0weGxQz1M5R4qnrmvF3Le1dvi+ak5vNgOjzkNpy0Z5oJyCgxK0ZPUgrbPHBrtQSyX/mkZGQ==","signatures":[{"sig":"MEYCIQCDgyS+9v7h3lMY1L0wzx4zVhZwaOoFCkuB0UeGyJctJgIhAKkvHbanSgy2HgAdWgQf3vRztI1QS/6TFR+68fdT435M","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":147722},"main":"./lib/index.js","types":"lib/index.d.ts","module":"./lib/index.js","gitHead":"e0bf06f95a7e807a9c09c8359c37997cf13cd9f5","scripts":{"lint":"eslint 'src/**/*.ts'","test":"jest","build":"tsup","eject":"react-scripts eject","start":"react-scripts start","format":"prettier --write 'src/**/*.ts'","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint --fix 'src/**/*.ts'","preversion":"npm run lint","postversion":"git push && git push --tags","format:check":"prettier 'src/**/*.ts'","publish-prod":"npm link && npm login && npm publish","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"heryjohn","email":"hery.a@nosytech.fr"},"_npmVersion":"10.5.2","description":"React-reex is a lightweight global state management solution for React and React-native. It depends on React and doesn't just use context-aware API and based on useState hook","directories":{},"_nodeVersion":"20.13.1","browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"eslintConfig":{"extends":["react-app","react-app/jest"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.1.0","react":"^18.2.0","eslint":"^8.57.0","ts-jest":"^29.1.5","prettier":"^3.3.2","react-dom":"^18.2.0","typescript":"^5.5.2","web-vitals":"^2.1.4","@types/jest":"^29.5.12","@types/node":"^20.14.11","@types/react":"^18.2.67","react-scripts":"5.0.1","@types/react-dom":"^18.2.22","@types/webpack-env":"^1.18.4","@testing-library/react":"^14.2.2","jest-environment-jsdom":"^29.7.0","@testing-library/jest-dom":"^5.17.0","@typescript-eslint/parser":"^7.14.1","@testing-library/user-event":"^13.5.0","@typescript-eslint/eslint-plugin":"^7.14.1","babel-plugin-transform-require-context":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/react-reex_1.0.3_1724387289135_0.7868484222006231","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"react-reex","version":"1.0.7","keywords":["state","react","react-native","reex","event","store","react-reex"],"author":{"name":"Hery John ANDRIANANJA / nosytech,","email":"hery.a@nosytech.fr"},"license":"MIT","_id":"react-reex@1.0.7","maintainers":[{"name":"heryjohn","email":"hery.a@nosytech.fr"}],"dist":{"shasum":"7dba6678f6b737c8a37f21390a5ad7aa7a1e217c","tarball":"https://registry.npmjs.org/react-reex/-/react-reex-1.0.7.tgz","fileCount":7,"integrity":"sha512-wOWrw4e5N6oJTk2UlRHGesL5juucPvVGM180cj+BICPAtaNRAa61omiLJRPEWkZRiUCIQuBJv6d7s/D57smiTw==","signatures":[{"sig":"MEUCIQCaW7JhTQ3jCE9oVQr/C0wfGPtIoTtmcpUXnR4SBoahuwIgD4ejbRUUB+uwc5vr4Zp4hAiBPX5rgLHk7pOFqqQhoX8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":162460},"main":"./lib/index.js","types":"lib/index.d.ts","module":"./lib/index.js","gitHead":"3c031722aa80dcb0b07d766cc5c984ed7a3703f6","scripts":{"lint":"eslint 'src/**/*.ts'","test":"jest","build":"tsup","eject":"react-scripts eject","start":"react-scripts start","format":"prettier --write 'src/**/*.ts'","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint --fix 'src/**/*.ts'","preversion":"npm run lint","postversion":"git push && git push --tags","format:check":"prettier 'src/**/*.ts'","publish-prod":"npm link && npm login && npm publish","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"heryjohn","email":"hery.a@nosytech.fr"},"_npmVersion":"8.19.4","description":"React-reex is a lightweight global state management solution for React and React-native. It depends on React and doesn't just use context-aware API and based on useState hook","directories":{},"_nodeVersion":"16.20.1","browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"eslintConfig":{"extends":["react-app","react-app/jest"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.1.0","react":"^18.2.0","eslint":"^8.57.0","ts-jest":"^29.1.5","prettier":"^3.3.2","react-dom":"^18.2.0","typescript":"^5.5.2","web-vitals":"^2.1.4","@types/jest":"^29.5.12","@types/node":"^20.14.11","@types/react":"^18.2.67","react-scripts":"5.0.1","@types/react-dom":"^18.2.22","@types/webpack-env":"^1.18.4","@testing-library/react":"^14.2.2","jest-environment-jsdom":"^29.7.0","@testing-library/jest-dom":"^5.17.0","@typescript-eslint/parser":"^7.14.1","@testing-library/user-event":"^13.5.0","@typescript-eslint/eslint-plugin":"^7.14.1","babel-plugin-transform-require-context":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/react-reex_1.0.7_1724770539273_0.9785399567593105","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"react-reex","version":"1.1.0","keywords":["state","getter","action","mutation","commit","dispatch","react","react-native","reex","event","store","react-reex","reactjs","redux","react-dom","persist-store","persistent","subscribe"],"author":{"name":"Hery John ANDRIANANJA / nosytech,","email":"hery.a@nosytech.fr"},"license":"MIT","_id":"react-reex@1.1.0","maintainers":[{"name":"heryjohn","email":"hery.a@nosytech.fr"}],"dist":{"shasum":"63aebeb325657d8eb194f43fee227d18399b665c","tarball":"https://registry.npmjs.org/react-reex/-/react-reex-1.1.0.tgz","fileCount":7,"integrity":"sha512-9hFw2YJFwMj/qVCbh8ljQ1fqwb5AcLbJIHP4zSmPomdVYpNsAexlnjnUavivgfOKxUfq9uMcKmiTSLt3+HxO3w==","signatures":[{"sig":"MEUCIQCvVthn1CEpUikp8w3CxdmoQVshsJNZpbKP+qlYjdZwZQIgLse5Qr4JdMWKCfNHRUKddZTu2PEJJZKYpPJbLvQ7jb0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":162604},"main":"./lib/index.js","types":"lib/index.d.ts","module":"./lib/index.js","gitHead":"0f92d45d7e5ba5839b53a6c3eb0f160ad90926eb","scripts":{"lint":"eslint 'src/**/*.ts'","test":"jest","build":"tsup","eject":"react-scripts eject","start":"react-scripts start","format":"prettier --write 'src/**/*.ts'","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint --fix 'src/**/*.ts'","preversion":"npm run lint","postversion":"git push && git push --tags","format:check":"prettier 'src/**/*.ts'","publish-prod":"npm link && npm login && npm publish","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"heryjohn","email":"hery.a@nosytech.fr"},"_npmVersion":"8.19.4","description":"React-reex is a lightweight global state management solution for React and React-native. It depends on React and doesn't just use context-aware API and based on useState hook","directories":{},"_nodeVersion":"16.20.1","eslintConfig":{"extends":["react-app","react-app/jest"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.1.0","react":"^18.2.0","eslint":"^8.57.0","ts-jest":"^29.1.5","prettier":"^3.3.2","react-dom":"^18.2.0","typescript":"^5.5.2","web-vitals":"^2.1.4","@types/jest":"^29.5.12","@types/node":"^20.14.11","@types/react":"^18.2.67","react-scripts":"5.0.1","@types/react-dom":"^18.2.22","@types/webpack-env":"^1.18.4","@testing-library/react":"^14.2.2","jest-environment-jsdom":"^29.7.0","@testing-library/jest-dom":"^5.17.0","@typescript-eslint/parser":"^7.14.1","@testing-library/user-event":"^13.5.0","@typescript-eslint/eslint-plugin":"^7.14.1","babel-plugin-transform-require-context":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/react-reex_1.1.0_1725908834081_0.3172004195726801","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"react-reex","version":"1.1.2","keywords":["state","getter","action","mutation","commit","dispatch","react","react-native","reex","event","store","react-reex","reactjs","redux","react-dom","persist-store","persistent","subscribe"],"author":{"name":"Hery John ANDRIANANJA / nosytech,","email":"hery.a@nosytech.fr"},"license":"MIT","_id":"react-reex@1.1.2","maintainers":[{"name":"heryjohn","email":"hery.a@nosytech.fr"}],"dist":{"shasum":"c3d2c33540c52b8df8537f3d3b68a1582040247a","tarball":"https://registry.npmjs.org/react-reex/-/react-reex-1.1.2.tgz","fileCount":7,"integrity":"sha512-b/1cxgrwzEEWK12LLyjwloJN+pt6evjOYLCDWwWRnCPTVp8YALSAIeEFG+AQuDJsC4CID6R7n2ig4Ap6Nlrweg==","signatures":[{"sig":"MEYCIQDkVE0rQf6Drs9U8tVPpaSH9wqo9D0YzIt8c/EMnJ2tIAIhAMK37rip07Cv3MgL/2T5lP08drGiaKVciTWJ9N+9TrfM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":158627},"main":"./lib/index.js","types":"lib/index.d.ts","module":"./lib/index.js","gitHead":"84d8ebd118dcd5151b6359f1ce8468c7cec50568","scripts":{"lint":"eslint 'src/**/*.ts'","test":"jest","build":"tsup","eject":"react-scripts eject","start":"react-scripts start","format":"prettier --write 'src/**/*.ts'","prepare":"npm run build","version":"npm run format && git add -A src","lint:fix":"eslint --fix 'src/**/*.ts'","preversion":"npm run lint","postversion":"git push && git push --tags","format:check":"prettier 'src/**/*.ts'","publish-prod":"npm link && npm login && npm publish","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"heryjohn","email":"hery.a@nosytech.fr"},"_npmVersion":"8.19.4","description":"React-reex is a lightweight global state management solution for React and React-native. It depends on React and doesn't just use context-aware API and based on useState hook","directories":{},"_nodeVersion":"16.20.1","browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"eslintConfig":{"extends":["react-app","react-app/jest"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.1.0","react":"^18.2.0","eslint":"^8.57.0","ts-jest":"^29.1.5","prettier":"^3.3.2","react-dom":"^18.2.0","typescript":"^5.5.2","web-vitals":"^2.1.4","@types/jest":"^29.5.12","@types/node":"^20.14.11","@types/react":"^18.2.67","react-scripts":"5.0.1","@types/react-dom":"^18.2.22","@types/webpack-env":"^1.18.4","@testing-library/react":"^14.2.2","jest-environment-jsdom":"^29.7.0","@testing-library/jest-dom":"^5.17.0","@typescript-eslint/parser":"^7.14.1","@testing-library/user-event":"^13.5.0","@typescript-eslint/eslint-plugin":"^7.14.1","babel-plugin-transform-require-context":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/react-reex_1.1.2_1726318998112_0.739169693771593","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"react-reex","version":"1.1.3","keywords":["state","getter","action","mutation","commit","dispatch","react","react-native","reex","event","store","react-reex","reactjs","redux","react-dom","persist-store","persistent","subscribe"],"author":{"name":"Hery John ANDRIANANJA / nosytech,","email":"hery.a@nosytech.fr"},"license":"MIT","_id":"react-reex@1.1.3","maintainers":[{"name":"heryjohn","email":"hery.a@nosytech.fr"}],"dist":{"shasum":"4a589765cc05e30deb46da78ffb4326851b9f949","tarball":"https://registry.npmjs.org/react-reex/-/react-reex-1.1.3.tgz","fileCount":7,"integrity":"sha512-gC2+wB3AntVE9+G3ZHUVus+bzwhQYcQIl0v9oLMaeN8sgWF07NP/2IrGSOIuF28xM1YDi7Jd+qVFDsrab3rkDw==","signatures":[{"sig":"MEUCIGZSt6+6HoyM54zhtq9rUI6cDLRgDXGJxSOlr84D98zKAiEAm2WOO+zhgRJ3nd0K5P+gHW5vIterJQ+Iz3X9pL70cy4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":150028},"main":"./lib/index.js","types":"lib/index.d.ts","module":"./lib/index.js","gitHead":"4eda52d1f399849b3e8725d9e553b16949daa9d1","scripts":{"lint":"eslint 'src/**/*.ts'","test":"jest","build":"tsup","eject":"react-scripts eject","start":"react-scripts start","format":"prettier --write 'src/**/*.ts'","version":"npm run format && git add -A src","lint:fix":"eslint --fix 'src/**/*.ts'","build:doc":"react-scripts build","preversion":"npm run lint","postversion":"git push && git push --tags","format:check":"prettier 'src/**/*.ts'","publish-prod":"npm run build && npm link && npm login && npm publish","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"heryjohn","email":"hery.a@nosytech.fr"},"_npmVersion":"8.19.4","description":"React-reex is a lightweight global state management solution for React and React-native. It depends on React and doesn't just use context-aware API and based on useState hook","directories":{},"_nodeVersion":"16.20.1","browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"eslintConfig":{"extends":["react-app","react-app/jest"]},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","tsup":"^8.1.0","react":"^18.2.0","eslint":"^8.57.0","ts-jest":"^29.1.5","prettier":"^3.3.2","react-dom":"^18.2.0","typescript":"^5.5.2","web-vitals":"^2.1.4","@types/jest":"^29.5.12","@types/node":"^20.14.11","@types/react":"^18.2.67","react-scripts":"5.0.1","@types/react-dom":"^18.2.22","@types/webpack-env":"^1.18.4","@testing-library/react":"^14.2.2","jest-environment-jsdom":"^29.7.0","@testing-library/jest-dom":"^5.17.0","@typescript-eslint/parser":"^7.14.1","@testing-library/user-event":"^13.5.0","@typescript-eslint/eslint-plugin":"^7.14.1","babel-plugin-transform-require-context":"^0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/react-reex_1.1.3_1727119634716_0.9159240730535587","host":"s3://npm-registry-packages"}},"1.1.8":{"name":"react-reex","version":"1.1.8","keywords":["state","getter","action","mutation","commit","dispatch","react","react-native","reex","event","store","react-reex","reactjs","redux","react-dom","persist-store","persistent","subscribe"],"author":{"name":"Hery John ANDRIANANJA / nosytech,","email":"hery.a@nosytech.fr"},"license":"MIT","_id":"react-reex@1.1.8","maintainers":[{"name":"heryjohn","email":"hery.a@nosytech.fr"}],"homepage":"https://react-reex.netlify.app","bugs":{"url":"https://react-reex.netlify.app/#issues"},"dist":{"shasum":"584dac26cabceaf2c45adb0c17e85f602e0bda39","tarball":"https://registry.npmjs.org/react-reex/-/react-reex-1.1.8.tgz","fileCount":7,"integrity":"sha512-O0Vr8Fpkq960IPV1CH4YOx0TmFkH+FX3Sb4RrThXwEjFxqzzqF5B9CDhjwwIfj0xvuYqwU0htvLfi93+AqeaJg==","signatures":[{"sig":"MEQCIGZ+3ezebsZAQHOimyzgRqC1Vl+d/ZAVMApcQnEUzjr9AiArULz354oW9lwFsU/a24KCchcvcaxJC4/JzpT6BidPbw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":150053},"main":"./lib/index.js","types":"lib/index.d.ts","module":"./lib/index.js","gitHead":"2acfc9651d6e5983a467186e527785f42cedea3e","scripts":{"lint":"eslint 'src/**/*.ts'","test":"jest","build":"tsup","format":"prettier --write 'src/**/*.ts'","version":"npm run format && git add -A src","lint:fix":"eslint --fix 'src/**/*.ts'","preversion":"npm run lint","postversion":"git push && git push --tags","format:check":"prettier 'src/**/*.ts'","publish-prod":"npm run build && npm link && npm login && npm publish","prepublishOnly":"npm test && npm run lint"},"_npmUser":{"name":"heryjohn","email":"hery.a@nosytech.fr"},"_npmVersion":"9.6.7","description":"React-reex is a lightweight global state management solution for React and React-native. It depends on React and doesn't just use context-aware API and based on useState hook","directories":{},"_nodeVersion":"18.17.0","browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"eslintConfig":{"extends":["react-app","react-app/jest"]},"_hasShrinkwrap":false,"peerDependencies":{"react":">=16.8.0","@types/react":">=16.0.0"},"peerDependenciesMeta":{"react":{"optional":true},"@types/react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-reex_1.1.8_1727238928472_0.21301485252463048","host":"s3://npm-registry-packages"}},"1.2.2":{"name":"react-reex","version":"1.2.2","keywords":["state","getter","action","mutation","commit","dispatch","react","react-native","reex","event","store","react-reex","reactjs","redux","react-dom","persist-store","persistent","subscribe"],"author":{"name":"Hery John ANDRIANANJA / nosytech,","email":"hery.a@nosytech.fr"},"license":"MIT","_id":"react-reex@1.2.2","maintainers":[{"name":"heryjohn","email":"hery.a@nosytech.fr"}],"homepage":"https://react-reex.netlify.app","bugs":{"url":"https://react-reex.netlify.app/#issues"},"dist":{"shasum":"565c92ad851a65f1fb6956da49b8eeedacd50a49","tarball":"https://registry.npmjs.org/react-reex/-/react-reex-1.2.2.tgz","fileCount":7,"integrity":"sha512-NxnV5T5vr3LI1Goz3QFcBjtoKhKCuaoG4Q0RdaATZpGOlkGti0IHbHLOQPb1lHbWPlEwOPsfh4wvjd/xA34omg==","signatures":[{"sig":"MEQCIGyLZZGzpzfOFloVm3q/4aPteI1GyF46DPv2OLzA0zu1AiAKAMnnoUNhm3kYWk8ygVDlO/qPBFlNTnVy++VVzui7Ug==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":151231},"main":"./lib/index.js","types":"lib/index.d.ts","module":"./lib/index.js","gitHead":"db80d9b8cc15ceda50d07813fe874067601e2afe","scripts":{"lint":"eslint 'src/**/*.ts'","test":"jest","build":"tsup","format":"prettier --write 'src/**/*.ts'","version":"npm run format && git add -A src","lint:fix":"eslint --fix 'src/**/*.ts'","preversion":"npm run lint","postversion":"git push && git push --tags","format:check":"prettier 'src/**/*.ts'","publish-prod":"npm link && npm login && npm publish","prepublishOnly":"npm test && npm run lint && npm run build"},"_npmUser":{"name":"heryjohn","email":"hery.a@nosytech.fr"},"_npmVersion":"9.6.7","description":"React-reex is a lightweight global state management solution for React and React-native. It depends on React and doesn't just use context-aware API and based on useState hook","directories":{},"_nodeVersion":"18.17.0","eslintConfig":{"extends":["react-app","react-app/jest"]},"_hasShrinkwrap":false,"peerDependencies":{"react":">=16.8.0","@types/react":">=16.0.0"},"peerDependenciesMeta":{"react":{"optional":true},"@types/react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react-reex_1.2.2_1727466185504_0.7929677333161038","host":"s3://npm-registry-packages"}},"1.2.5":{"name":"react-reex","version":"1.2.5","description":"React-reex is a lightweight global state management solution for React and React-native. It depends on React and doesn't just use context-aware API and based on useState hook","main":"./lib/index.js","module":"./lib/index.js","types":"lib/index.d.ts","scripts":{"test":"jest","build":"tsup","format":"prettier --write 'src/**/*.ts'","format:check":"prettier 'src/**/*.ts'","lint":"eslint 'src/**/*.ts'","lint:fix":"eslint --fix 'src/**/*.ts'","publish-prod":"npm link && npm login && npm publish","prepublishOnly":"npm test && npm run lint && npm run build","preversion":"npm run lint","version":"npm run format && git add -A src","postversion":"git push && git push --tags"},"homepage":"https://react-reex.netlify.app","bugs":{"url":"https://react-reex.netlify.app/#issues"},"keywords":["state","getter","action","mutation","commit","dispatch","react","react-native","reex","event","store","react-reex","reactjs","redux","react-dom","persist-store","persistent","subscribe"],"author":{"name":"Hery John ANDRIANANJA / nosytech,","email":"hery.a@nosytech.fr"},"license":"MIT","eslintConfig":{"extends":["react-app","react-app/jest"]},"peerDependencies":{"@types/react":">=16.0.0","react":">=16.8.0"},"peerDependenciesMeta":{"@types/react":{"optional":true},"react":{"optional":true}},"gitHead":"24501da54ad58be9fcaa9e4dbd0b84cb65880753","_id":"react-reex@1.2.5","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-tTjqRWkOHgk37rn94CCNCTb9Ott+vT2ctyPCPdPLaudUWVBDXpgcqat/LbakoKxzwBF+UTv6DWjiSraXYs4Apw==","shasum":"b7a1899573448fb213416d80adf2f812cb2916d0","tarball":"https://registry.npmjs.org/react-reex/-/react-reex-1.2.5.tgz","fileCount":7,"unpackedSize":160612,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICcGLuh2q3lPUw39rP6VBoRSvxsGr3VtCkQNPaYrdZuhAiA5MBEJ5BMOSBsazaFKaGBlQcXmhJ3UEcdIWM7Xjvpbgw=="}]},"_npmUser":{"name":"heryjohn","email":"hery.a@nosytech.fr"},"directories":{},"maintainers":[{"name":"heryjohn","email":"hery.a@nosytech.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-reex_1.2.5_1727849572537_0.8154209744510481"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-23T04:28:09.135Z","modified":"2024-10-02T06:12:52.939Z","1.0.0":"2024-02-21T09:13:27.822Z","1.2.0":"2024-02-22T15:45:52.735Z","1.0.2":"2024-08-19T21:03:41.728Z","1.0.1":"2024-08-21T05:47:41.407Z","1.0.3":"2024-08-23T04:28:09.345Z","1.0.4":"2024-08-25T17:02:49.007Z","1.0.5":"2024-08-27T08:05:11.167Z","1.0.6":"2024-08-27T14:19:27.138Z","1.0.7":"2024-08-27T14:55:39.503Z","1.0.8":"2024-09-09T18:14:44.679Z","1.0.9":"2024-09-09T18:49:18.607Z","1.1.0":"2024-09-09T19:07:14.277Z","1.1.2":"2024-09-14T13:03:18.399Z","1.1.3":"2024-09-23T19:27:14.961Z","1.1.5":"2024-09-24T20:44:23.718Z","1.1.7":"2024-09-24T21:13:10.863Z","1.1.8":"2024-09-25T04:35:28.628Z","1.2.1":"2024-09-27T19:34:22.124Z","1.2.2":"2024-09-27T19:43:05.836Z","1.2.4":"2024-10-01T08:08:45.710Z","1.2.5":"2024-10-02T06:12:52.768Z"},"bugs":{"url":"https://react-reex.netlify.app/#issues"},"author":{"name":"Hery John ANDRIANANJA / nosytech,","email":"hery.a@nosytech.fr"},"license":"MIT","homepage":"https://react-reex.netlify.app","keywords":["state","getter","action","mutation","commit","dispatch","react","react-native","reex","event","store","react-reex","reactjs","redux","react-dom","persist-store","persistent","subscribe"],"description":"React-reex is a lightweight global state management solution for React and React-native. It depends on React and doesn't just use context-aware API and based on useState hook","maintainers":[{"name":"heryjohn","email":"hery.a@nosytech.fr"}],"readme":"# React-reex\n<p align=\"center\">\n<img src=\"https://react-reex.netlify.app/assets/images/logo.png\" width=\"100\" height=\"100\">\n</p>\n\n[**_React-reex_**](https://react-reex.netlify.app) is a lightweight global state management solution for React and React-native. It depends on React and doesn't use _React Context API_ but only based on **_useState_** hook\n\n\n## Documentation\nPlease see [**_official website_**](https://react-reex.netlify.app)\n\n## Installation\n\n#### a. YARN\n\n```bash\nyarn add react-reex@latest\n```\n\n#### b. NPM\n\n```bash\nnpm install react-reex@latest --save\n```\n\n## Usage\n\n### a. CreateModule\n\nIn _`/store/counter/index.ts`_\n\n```typescript\nimport { createModule } from \"react-reex\"\n\nconst counterStore = createModule({\n  name: \"counter\",\n  state() {\n    return {\n      count: 0,\n    }\n  },\n  getters: {\n    double() {\n      return this.count * 2\n    },\n  },\n  actions: {\n    increment() {\n      this.commit(\"setCount\", this.count + 1)\n    },\n    decrement(v: number) {\n      this.count--\n    },\n  },\n  mutations: {\n    setCount(value: number) {\n      this.count = value\n    },\n  },\n  events: {\n    count: {\n      handler(value) {\n        console.log(\"Count has changed\", value)\n      },\n    },\n  },\n})\n\nexport default counterStore\n```\n\n### b. CreateStore\n\nIn _`/store/index.ts`_\n\n```typescript\nimport { createStore } from \"react-reex\"\nimport counterStore from \"./counter\"\n\nconst store = createStore({\n  modules: {\n    counterStore,\n  },\n  created() {\n    console.log(\"created global\")\n  },\n  before(data) {\n    console.log(\"before global\", data)\n  },\n  handler(state) {\n    console.log(\"handler global\", state)\n  },\n})\n\nexport const { useReexState, useReexGetter, useReexModule, useReexAction } = store\n\nexport default store\n```\n\n### c. Create a component\n\nIn _`/components/MyComponent.tsx`_\n```typescript\nimport React from \"react\"\nimport store, { useReexState } from \"../store\"\n\nconst Counter = () => {\n  const count = useReexState(\"counter/count\")\n\n  return (\n    <button\n      onClick={() => store.dispatch(\"counter/increment\")}\n    >\n      {count}\n    </button>\n  )\n}\n```\n\n## License\nMIT","readmeFilename":"README.md"}