alibaba / alibaba/lowcode-engine
通过列表切换实现动态页面渲染的能力的问题
Open
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
想实现点击左侧树列表,右侧预览页动态渲染,现在点击左侧树引起state改变,按理来说会重新渲染DOM,但是页面没有切换渲染,参见下图

预测是预览初始化方法使用async的原因,请问应该如何解决这个问题
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with the left tree selection and right-side preview. Trace the state change into the preview initialization path, particularly the async behavior mentioned in the report. Done means selecting another tree item causes the preview page to render the corresponding content.
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
- Needs clarification
- Newbie friendliness
- 25/100