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

refactor(elements): move context from style to config #6525

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

Aarebecca
Copy link
Contributor

  • 元素 context 从 config 传入,而非 style。避免序列化元素 attributes 时出现循环引用问题

  • The element context is passed in from the config instead of the style. To avoid circular reference issues when serializing element attributes.

@Aarebecca Aarebecca force-pushed the refactor/elements-context branch 2 times, most recently from 1385315 to 05da818 Compare November 15, 2024 08:00
@Aarebecca Aarebecca force-pushed the refactor/elements-context branch from 05da818 to 8cc7f2d Compare November 15, 2024 08:52
@Aarebecca Aarebecca merged commit 6a0482a into v5 Nov 15, 2024
3 checks passed
@Aarebecca Aarebecca deleted the refactor/elements-context branch November 15, 2024 08:53
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.

2 participants