@antv/f2-vue移除对@babel/plugin-transform-react-jsx的依赖
Open
- 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
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