diff --git a/README.md b/README.md index 02f089b..5203bea 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ An elegant library to solve duplicate and concurrent calls for idempotent functi English | [简体中文](README.zh-CN.md) -- Demo +- Demo ## Usage @@ -141,7 +141,7 @@ In React, you can share requests using swr, Provider and more complex state mana 2. Provider: Needs centralized data management. The data center can't perceive which modules will consume the data, need to maintain the data for a long time, and dare not delete it in time 3. Redux: Should focus on state changes and sequences, not data sharing. `idmp` lets you focus more on local state -See [demo](https://idmp-ha0z1.vercel.app) and [source code](https://github.com/ha0z1/idmp/tree/main/demo) +See [demo](https://idmp.haozi.me) and [source code](https://github.com/ha0z1/idmp/tree/main/demo) So when module A or module B's code is deleted, there is no need to maintain their cache. diff --git a/README.zh-CN.md b/README.zh-CN.md index 034dd34..73f65c0 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -11,7 +11,7 @@ [English](README.md) | 简体中文 -- Demo +- Demo ## 使用 @@ -141,7 +141,7 @@ fetchData2().then(...) // will skip cache 2. Provider 数据共享: 需要一个中心化的数据管理。数据中心无法感知到哪些模块会消费数据,需要长期维护这些数据,而不敢及时删除 3. Redux 等状态管理库:应该专注的是状态的变化和时序,而非共享数据。`idmp` 让你更关注于局部状态 -查看 [demo](https://idmp-ha0z1.vercel.app) 和[源码](https://github.com/ha0z1/idmp/tree/main/demo) +查看 [demo](https://idmp.haozi.me) 和[源码](https://github.com/ha0z1/idmp/tree/main/demo) 这样当模块 A 或者模块 B 的代码删除后,是不需要维护他们的缓存的。 diff --git a/package.json b/package.json index 7685672..cb3c0a5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "idmp", - "version": "1.14.11", + "version": "1.14.12", "keywords": [ "deduplicate network requests", "idempotent function", @@ -16,7 +16,7 @@ "immutable data", "auto retry" ], - "homepage": "https://idmp-ha0z1.vercel.app", + "homepage": "https://idmp.haozi.me", "bugs": "https://github.com/ha0z1/idmp/issues", "repository": { "type": "git",