From b589c8de733746841d847ba9e4f9cc5ccc5e3429 Mon Sep 17 00:00:00 2001 From: sarath Date: Sun, 7 Jul 2024 20:20:14 +0530 Subject: [PATCH] example app --- example/package-lock.json | 8 ++++---- example/package.json | 2 +- example/src/App.js | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/example/package-lock.json b/example/package-lock.json index 8b197f3..0702b94 100644 --- a/example/package-lock.json +++ b/example/package-lock.json @@ -11,7 +11,7 @@ "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", - "native-state-react": "^1.9.5", + "native-state-react": "^2.0.0", "react": "^18.3.1", "react-dom": "^18.3.1", "react-scripts": "5.0.1", @@ -12238,9 +12238,9 @@ } }, "node_modules/native-state-react": { - "version": "1.9.5", - "resolved": "https://registry.npmjs.org/native-state-react/-/native-state-react-1.9.5.tgz", - "integrity": "sha512-dW+IY7sOKVpELyuwtmfXNIOnYXGZk8KQwLHAdNeZp1EOxD5rGj9mF60YZmv/2Kfa1hkMkU13KyLZyjlNVdM0yA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/native-state-react/-/native-state-react-2.0.0.tgz", + "integrity": "sha512-PzHWh/KvmbPNCGNGHgHLNEU5dNMnzhsHfYBYwnGCfWcDMz9PEM7BydoSeIrzj8XR5e+qZYa2owbbyZLuxw0dTw==", "peerDependencies": { "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/example/package.json b/example/package.json index 6819fbc..55853c9 100644 --- a/example/package.json +++ b/example/package.json @@ -6,7 +6,7 @@ "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", - "native-state-react": "^1.9.5", + "native-state-react": "^2.0.0", "react": "^18.3.1", "react-dom": "^18.3.1", "react-scripts": "5.0.1", diff --git a/example/src/App.js b/example/src/App.js index c387d5b..bf4cf43 100644 --- a/example/src/App.js +++ b/example/src/App.js @@ -13,7 +13,7 @@ function App() { setInterval(() => { setState({school:{time:new Date().toISOString(),class:"V"}}); - }, 3000); + }, 5000); },[]); return (