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(useEventBus): support-new-way-publish-subscribe #2535

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

xbw19975
Copy link

@xbw19975 xbw19975 commented Apr 25, 2024

[中文版模板 / Chinese template]

🤔 This is a New feature

🔗 Related issue link

#2533

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ 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

#2533

@CLAassistant
Copy link

CLAassistant commented Apr 25, 2024

CLA assistant check
All committers have signed the CLA.

@xbw19975
Copy link
Author

新hook基于老的hook主要有以下几点
1.支持一对一发布订阅
2.支持订阅方法里使用state.通过依赖项保证值的最新
3.支持asyncEmit 等待一些异步方法
4.拆分原始类,支持hook方式使用 和 不在函数组件内订阅发布方法.例如utils.js内使用.

@xbw19975 xbw19975 changed the title feat(useEventBus): support-new-way-publish-subscribe feat(useEventBus): support-new-way-publish-subscribe #2533 Apr 28, 2024
@xbw19975 xbw19975 changed the title feat(useEventBus): support-new-way-publish-subscribe #2533 feat(useEventBus): support-new-way-publish-subscribe Apr 28, 2024
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.

None yet

2 participants