Skip to content

Update preact and preact/signals packages to fix global sCU issue#520

Merged
hiteshshetty-dev merged 2 commits intodevelop_v4from
VB-629
Nov 5, 2025
Merged

Update preact and preact/signals packages to fix global sCU issue#520
hiteshshetty-dev merged 2 commits intodevelop_v4from
VB-629

Conversation

@hiteshshetty-dev
Copy link
Copy Markdown
Contributor

With preact/signals 1.3.2 the global shouldComponentUpdate lifecycle hooks are not working with preact. It was recently fixed with latest preact version. We have updated both the packages.

@hiteshshetty-dev hiteshshetty-dev requested a review from a team as a code owner November 5, 2025 08:05
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Nov 5, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 72.66% 9418 / 12960
🔵 Statements 72.66% 9418 / 12960
🔵 Functions 71.73% 335 / 467
🔵 Branches 84.28% 1201 / 1425
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/visualBuilder/components/Collab/ThreadPopup/CommentTextArea.tsx 93.65% 70% 75% 93.65% 71-74, 100-102, 108-113
Generated in workflow #593 for commit 55e24a3 by the Vitest Coverage Report Action

: ""
)}
ref={(el) => (itemRefs.current[index] = el)}
ref={(el) => {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We should revert this since there is no change except formatting. Rest looks good to me.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We had to fix this, here we have incorrect ref configured for component which throws error while build.

Copy link
Copy Markdown

@prathamesh-sawant-cs prathamesh-sawant-cs left a comment

Choose a reason for hiding this comment

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

Left one comment to revert the file that's not affected...Also some tests failed due to timeout.
Rest LGTM so approved

@hiteshshetty-dev
Copy link
Copy Markdown
Contributor Author

Left one comment to revert the file that's not affected...Also some tests failed due to timeout. Rest LGTM so approved

We are currently working on rewrite of these case. It has been failing on CI for quite of time.

@hiteshshetty-dev hiteshshetty-dev merged commit 19572da into develop_v4 Nov 5, 2025
9 of 10 checks passed
@hiteshshetty-dev hiteshshetty-dev deleted the VB-629 branch November 5, 2025 11:35
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.

3 participants