antvis / antvis/F2

@antv/f2-vue移除对@babel/plugin-transform-react-jsx的依赖

Open
#1,537 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8k
Forks
637
PR merge metrics
No merged PRs in 30d

Description

- [x] I have searched the [issues](https://github.com/antvis/f2/issues) of this repository and believe that this is not a duplicate.

### What problem does this feature solve?
@antv/f2-vue,在自定义图形时,项目中需要配置@babel/plugin-transform-react-jsx,但此配置的会对项目中其他使用JSX的组件/页面产生影响。

### What does the proposed API look like?
不再依赖 @babel/plugin-transform-react-jsx 对JSX进行编译。

Contributor guide

Open the contributing guide

Research direction

Inspect the @antv/f2-vue package and its use of @babel/plugin-transform-react-jsx, starting with the package dependency and JSX compilation configuration. Verify that custom graphics JSX still compiles without that plugin and that the change no longer affects other JSX components or pages.

Written by the indexing model from the issue text.

Assessment

Tech stack
babel, javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.