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

feat(useExternal): allow resources to remain after they have lost the… #2165

Merged
merged 1 commit into from Apr 23, 2023

Conversation

candy4290
Copy link
Contributor

@candy4290 candy4290 commented Apr 20, 2023

…ir references

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

close: #2164

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Add keepWhenUnused option to allow resources to remain after they have lost their references
🇨🇳 Chinese 增加keepWhenUnused选项,允许资源在失去引用后继续保留。

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@CLAassistant
Copy link

CLAassistant commented Apr 20, 2023

CLA assistant check
All committers have signed the CLA.

@liuyib liuyib self-requested a review April 20, 2023 03:25
@crazylxr crazylxr merged commit b92ca0e into alibaba:master Apr 23, 2023
8 checks passed
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

Successfully merging this pull request may close these issues.

useExternal 是否可以在组件卸载时,不移除加载进来的js
3 participants