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

chore(view-recursive): add warning message before refactor #2768

Merged
merged 1 commit into from
Aug 25, 2020

Conversation

hustcc
Copy link
Member

@hustcc hustcc commented Aug 24, 2020

  • 增加 warning message 多 view 嵌套

// 这个 API 理论上用户量不多,所以暂时不发大版本,所以先暂时打一个 warning。
if (this.parent && this.parent.parent) {
// 存在 3 层 结构了
console.warn('The view nesting recursive feature will be removed at G2 V4.1. Please avoid to use it.');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感觉最后还是应该升一个大版本,可以以这次 930 为节点,G2Plot 1.0 的功能点迁移完 + G2 体验优化点基本完成。

@simaQ simaQ merged commit c7f1e6a into master Aug 25, 2020
@simaQ simaQ deleted the chore-deprecate-multi-view branch August 25, 2020 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants