Skip to content

dva 使用react-keeper 在ios与安卓中的不同表现, #117

@caicai199604

Description

@caicai199604
"dva": "^2.2.3",
"dva-no-router": "^1.2.1",
"react-keeper": "^2.1.12",

项目中没有配置任何需要缓存的页面。
但是会存在被缓存的情况
1.安卓,从项目跳转到 百度网站 之后,再返回到项目,react的生命周期会重新走一遍,不会缓存离开页面的样子。
ios 不会重新走react的生命周期,并且缓存了离开页面时候的样子。

2.ios与安卓都会有,从项目跳转到 百度网站 之后,再返回到项目,项目中的接口不会发送到服务器,接口中的数据是从缓存中取得。

希望能帮忙分析一下,怎样才能表现的一样。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions