花大咩

Results 114 comments of 花大咩

@Joker-x-dev 这个案例的ts冲突是来自于vue和react的冲突,你可以自行修改两者的d.ts声明文件,参考https://github.com/gloriasoft/veaury?tab=readme-ov-file#typescript-jsx-types-conflict-caused-by-vue-and-react-at-the-same-time

@farmaazon Hope you can give me an example. But you can learn about `applyPureReactInVue`

> Here is an example; I have a vue component with two children laid out using flexbox: App.vue: > > > import { applyPureReactInVue, applyReactInVue } from "veaury"; > import...

@baijunjie 我看了下,在点击test的瞬间,veaury创建的button元素已经从节点上移除了,这个可能是veaury内部没有处理好或者是没有考虑transition的情况,大概率可以修复,但是优先级不高

@baijunjie 不是react19中移除了createRoot方法,而是react19不再支持可以动态判断react版本来选择使用`ReactDOM.render`还是`client.createRoot (react-dom/client)`,会有两个方案,一个是开放一个运行时配置传入createRoot,另一个是直接提供两个版本的依赖,由使用者选择使用哪个依赖

@baijunjie 2.6.0已经发布 参考说明 https://github.com/gloriasoft/veaury?tab=readme-ov-file#react-in-vue---basic-usage

@matthieumasse ![Image](https://github.com/user-attachments/assets/f0a533e8-2191-44e6-a133-501a84b0015f)

@pslxx 正常的当成集成react组件集成进vue项目就行