Skip to content

Commit

Permalink
fix: 修复solid的onShow,onHide不生效的bug (#16569)
Browse files Browse the repository at this point in the history
  • Loading branch information
phy-lei authored Oct 8, 2024
1 parent ad13357 commit 5148dd6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/taro-framework-solid/src/runtime/connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ type SolidComponent = (props?: any) => TaroNode;

export function setReconciler () {
hooks.tap('getLifecycle', function (instance, lifecycle: string) {
lifecycle = lifecycle.replace(/^on(Show|Hide)$/, 'componentDid$1')
return instance[lifecycle]
})

Expand Down

0 comments on commit 5148dd6

Please sign in to comment.