Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

g-plugin-yoga重构 #1733

Open
1 task done
gdnwr opened this issue Jul 13, 2024 · 1 comment
Open
1 task done

g-plugin-yoga重构 #1733

gdnwr opened this issue Jul 13, 2024 · 1 comment

Comments

@gdnwr
Copy link

gdnwr commented Jul 13, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

1、官方示例《使用 Yoga 排版引擎》一直处于报错状态
https://g.antv.antgroup.com/examples/plugins/yoga/#yoga-container
2、底层使用的yoga-layout-prebuilt库,已经多年无人维护
https://github.com/vadimdemedes/yoga-layout-prebuilt
3、官方早就说明:“该插件使用 yoga-layout-prebuilt,包体积较大,后续我们会使用自己开发的轻量版布局引擎。”
https://g.antv.antgroup.com/plugins/yoga
4、竞品@visactor/vrender已实现flex布局插件:flex-layout-plugin.ts
https://github.dev/VisActor/VRender
5、竞品leafer-ui已实现“自动布局(流动),类似 Flex 的自动布局”:@leafer-in/flow
https://www.leaferjs.com/ui/plugin/in/flow/

What does the proposed API look like?

g-plugin-yoga重构

@hustcc
Copy link
Member

hustcc commented Sep 4, 2024

@gdnwr 有兴趣来重构 PR 吗?👍🏻

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

No branches or pull requests

2 participants