Skip to content

Commit cbaa222

Browse files
Merge pull request #43 from HichemTab-tech/fix-multiple-instances-in-modules-tree
fix: implement singleton pattern for SharedValuesManager to manage multiple instances but unique per usage key.
2 parents e5892cc + 176539d commit cbaa222

6 files changed

Lines changed: 541 additions & 553 deletions

File tree

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-shared-states",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"type": "module",
55
"description": "Global state made as simple as useState, with zero config, built-in async caching, and automatic scoping.",
66
"keywords": [
@@ -47,19 +47,19 @@
4747
"homepage": "https://github.com/HichemTab-tech/react-shared-states#readme",
4848
"devDependencies": {
4949
"@testing-library/dom": "^10.4.1",
50-
"@testing-library/react": "^16.3.0",
51-
"@types/node": "^25.0.2",
52-
"@types/react": "^19.1.11",
53-
"@types/react-dom": "^19.1.7",
54-
"@vitejs/plugin-react": "^5.0.1",
55-
"jsdom": "^27.0.0",
56-
"react": "^19.1.1",
57-
"react-dom": "^19.1.1",
58-
"typescript": "^5.9.2",
50+
"@testing-library/react": "^16.3.1",
51+
"@types/node": "^25.0.3",
52+
"@types/react": "^19.2.7",
53+
"@types/react-dom": "^19.2.3",
54+
"@vitejs/plugin-react": "^5.1.2",
55+
"jsdom": "^27.4.0",
56+
"react": "^19.2.3",
57+
"react-dom": "^19.2.3",
58+
"typescript": "^5.9.3",
5959
"vite": "7.3.0",
6060
"vite-plugin-banner": "^0.8.1",
6161
"vite-plugin-dts": "^4.5.4",
62-
"vitest": "^4.0.15"
62+
"vitest": "^4.0.16"
6363
},
6464
"dependencies": {
6565
"react-fast-compare": "^3.2.2"

0 commit comments

Comments
 (0)