alibaba / alibaba/lowcode-engine
如何让appHelper的更新触发renderer的重新渲染?
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
在renderer的上下文中有一个按钮,会动态给apphelper中的值更新。



可以看到appHelper中的trigger已经更新了,但是上面的根据trigger值控制显隐的内容却没有发生变化,这是Hello文本的渲染配置:

有什么方法可以让apphelper值的更新动态刷新渲染出的内容呢?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the renderer button scenario described in the issue and inspect how changes to appHelper.trigger reach the renderer. Trace the renderer update path and the Hello visibility configuration; done means changing appHelper.trigger updates the conditionally rendered content without a manual refresh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100