Skip to content

[WIP]chore(jsx2mp): handle tagId update#1939

Closed
SoloJiang wants to merge 9 commits intomasterfrom
tag-id-update
Closed

[WIP]chore(jsx2mp): handle tagId update#1939
SoloJiang wants to merge 9 commits intomasterfrom
tag-id-update

Conversation

@SoloJiang
Copy link
Collaborator

背景: 在编译时方案中,每个组件的 tagId 都是 unique value。

在循环中,当 key 值生效的时候,前后 key 值一样的组件不会被重新创建,但是此时组件的 tagId 发生了变化,导致之前渲染建立的映射关系出现问题。

@SoloJiang SoloJiang changed the title chore(jsx2mp): handle tagId update [WIP]chore(jsx2mp): handle tagId update Jul 15, 2020
@SoloJiang
Copy link
Collaborator Author

SoloJiang commented Jul 16, 2020

某些场景依然存在问题,需要 WIP ,之后进一步解决

Base automatically changed from release/jsx2mp-0702 to beta/miniapp-0716 July 29, 2020 07:24
Base automatically changed from beta/miniapp-0716 to release/miniapp-0709 July 29, 2020 07:39
Base automatically changed from release/miniapp-0709 to master July 29, 2020 07:52
@SoloJiang SoloJiang closed this Nov 13, 2020
@SoloJiang SoloJiang deleted the tag-id-update branch June 28, 2021 03:06
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.

2 participants