Skip to content

refactor: isolate component library dependencies#5

Open
yy-wow wants to merge 9 commits intopoc/dynamic-uifrom
refactor/lightweight
Open

refactor: isolate component library dependencies#5
yy-wow wants to merge 9 commits intopoc/dynamic-uifrom
refactor/lightweight

Conversation

@yy-wow
Copy link
Collaborator

@yy-wow yy-wow commented Jan 23, 2026

  1. 组件库依赖改为外部传入
  2. 从 renderer 中抽取 parser 逻辑
  3. ts 改造

@coderabbitai
Copy link

coderabbitai bot commented Jan 23, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch refactor/lightweight

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@yy-wow yy-wow changed the title refactor: 轻量化改造 refactor: 组件库依赖改造 Jan 26, 2026
@yy-wow yy-wow changed the title refactor: 组件库依赖改造 refactor: isolate component library dependencies Jan 28, 2026
"children": [
{
"componentName": "TinyCarouselItem",
"componentName": "Text",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个作为测试示例有点不太好,这几个text有点重复保留一个就好。另外应该再上一些常用的用法,例如JSFunction和JSExpression以及slot

import useCustomSetting from './use-custom-setting';
import { RENDERER_SETTINGS_KEY } from './renderer-settings';

export const createSchemaRenderer = (options: ISchemaRendererOptions = {}): Component => {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不建议写ts组件了 组件统一用vue

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.

4 participants