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: recover component lifecycle and avoid execute from scope __proto__ #2681

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

1ncounter
Copy link
Collaborator

修复低代码组件生命周期方法未执行的问题

Copy link

Coverage report for packages/react-simulator-renderer

St.
Category Percentage Covered / Total
🔴 Statements 33.63% 114/339
🔴 Branches 14.53% 25/172
🔴 Functions 26.14% 23/88
🔴 Lines 34.23% 114/333

Test suite run success

2 tests passing in 1 suite.

Report generated by 🧪jest coverage report action from fb8ef33

Copy link

Coverage report for packages/utils

St.
Category Percentage Covered / Total
🟢 Statements 80.96% 370/457
🟡 Branches 76.65% 279/364
🟢 Functions 88.7% 102/115
🟢 Lines 81.36% 358/440

Test suite run success

234 tests passing in 40 suites.

Report generated by 🧪jest coverage report action from fb8ef33

Copy link

Coverage report for packages/renderer-core

St.
Category Percentage Covered / Total
🟡 Statements
72.62% (+0.15% 🔼)
915/1260
🟡 Branches
61.34% (-0.26% 🔻)
576/939
🟡 Functions
70% (+1.47% 🔼)
196/280
🟡 Lines
72.68% (+0.15% 🔼)
899/1237
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟡 renderer/base.tsx
66.24% (-0.49% 🔻)
54.01% (-0.58% 🔻)
64.29%
66.31% (-0.5% 🔻)

Test suite run success

101 tests passing in 8 suites.

Report generated by 🧪jest coverage report action from fb8ef33

Copy link

Coverage report for packages/designer

St.
Category Percentage Covered / Total
🟢 Statements 96.09% 2853/2969
🟢 Branches 88.6% 1625/1834
🟢 Functions 95.67% 862/901
🟢 Lines 96.16% 2778/2889

Test suite run success

378 tests passing in 43 suites.

Report generated by 🧪jest coverage report action from fb8ef33

@liujuping liujuping merged commit 394b56d into develop Nov 22, 2023
19 checks passed
@liujuping liujuping deleted the fix/component-lifecycle-not-execute branch November 22, 2023 13:16
@JackLian
Copy link
Collaborator

1.2.3-beta.4

@jeffery-zhang
Copy link

1.2.3-beta.4

我把engine-core更新到了这个版本, 但低代码组件的生命周期依然没有执行, 而且连Page本身的生命周期也没有执行了

@liujuping
Copy link
Collaborator

@1ncounter

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.

4 participants