Comments (4)
请求缓存的实现,受本地存储条件的影响不太好处理,特别是若App部分逻辑存在大量、高频的前后台数据交互的话,可能缓存的效率与性能就更不好说了。
所以这样的功能还是开发者自己实现比较好。至于实现方式:可以在XHttpConfig.initParseDataFunc()对接口请求的结果进缓存及回调处理。
from react-native-easy-app.
我觉得可以提供api的接口缓存配置,包括存储的配置
from react-native-easy-app.
你可以fork一个版本,加上相关的功能实现,如果后面综合性能达到要求的话,我可以合并到master分支。
from react-native-easy-app.
好的
from react-native-easy-app.
Related Issues (7)
- 登陆页面刷新后无法获取已存的token HOT 3
- XImage不接受require,icon的属性不应该写成PropType.string HOT 3
- initParseDataFunc方法不进入 HOT 1
- Text的icon属性,类型也有问题,不能直接require HOT 1
- yarn 之后安装不了依赖 HOT 1
- 停更了吗? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-easy-app.