Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SmartAssets 本地资源路径 #87

Open
MuchenXmy opened this issue Aug 12, 2020 · 2 comments
Open

SmartAssets 本地资源路径 #87

MuchenXmy opened this issue Aug 12, 2020 · 2 comments

Comments

@MuchenXmy
Copy link

SmartAssets 是原生加载bundle后主动通知RN更新资源加载路径。想问下两个页面使用单例的bridge时,加载不同目录的业务bundle,每次进入/返回到页面时都要去通知路径更新吗?如果A页面有异步延时操作显示本地图片,在此期间进入了B页面, 那后台运行的A页面加载的图片路径不就是错误的吗?

@smallnew
Copy link
Owner

这是个好问题,设计时没考虑业务间跳转,现在的版本时没有在业务相互切换时路径更新(本周有空增加一下),延时展示时,请最好把图片预先require

@hf529270451
Copy link

请问 这个问题解决了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants