alibaba / alibaba/lowcode-engine

@alilc/lowcode-react-renderer 渲染生成的资源标签能否有标记

Open
#1,072 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

```ts
import ReactRenderer from '@alilc/lowcode-react-renderer';
```
目前项目使用的库渲染页面,但是有个情况就是会把静态资源添加到header上,我切到其他的项目页面的时候,组件卸载并没有把这些script,link给删除,能不能加个标记,我好自行删除,不然会有样式冲突
注:之前提过类似问题,但是建议我用微应用,可是项目已经上线很久了,切过去不太现实

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the ReactRenderer entry point shown in the issue and trace how static script and link resources are added to the document header and handled when the component unmounts. Done means the generated resource tags have a reliable marker that lets an integrating application identify and remove them without causing style conflicts.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.