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

fix: the logic boundary condition judgment of text element attribute update is missing (#1755) #1756

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

wang1212
Copy link
Member

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / Document optimization
  • TypeScript definition update
  • Refactoring
  • Performance improvement
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

fixed #1755

💡 Background and solution

see #1755

The solution is to add boundary condition judgment logic. When the number of objects to be updated is 0, the program will jump out directly.

📝 Changelog

Language Changelog
🇺🇸 English fix: the logic boundary condition judgment of text element attribute update is missing (#1755)
🇨🇳 Chinese fix: text 元素的属性更新逻辑中缺少边界条件判断 (#1755)

☑️ Self Check before Merge

  • 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

@wang1212 wang1212 requested a review from Aarebecca August 19, 2024 03:12
@wang1212 wang1212 merged commit 3fb2553 into release Aug 22, 2024
3 checks passed
@wang1212 wang1212 deleted the fix-1755 branch August 22, 2024 05:22
wang1212 added a commit that referenced this pull request Aug 22, 2024
* fix: fix g-react re-render (#1757)

* fix: render cache target to avoid rerender

* refactor: fix typo of reconciler

* fix: the logic boundary condition judgment of text element attribute update is missing (#1755) (#1756)

* chore: update changeset

* Version Packages (#1758)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Aaron <yangtao.yangtao@antgroup.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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