GitShow/antfu/reactivue
antfu

reactivue

๐Ÿ™Š Use Vue Composition API in React components

by antfu
reactvuevue-composition-apivue-in-react
Star on GitHubForknpm

TypeScript

1.5k stars38 forks8 contributorsQuiet ยท 2y agoSince 2020MIT

Meet the team

See all 8 on GitHub โ†’
antfu
antfu54 contributions
sibbng
sibbng43 contributions
crutchcorn
crutchcorn4 contributions
CJY0208
CJY02083 contributions
Dav3rs
Dav3rs1 contribution
yi-tuan
yi-tuan1 contribution
sinoon
sinoon1 contribution

Languages

View on GitHub โ†’
TypeScript92.2%
JavaScript7.8%

Commit activity

Last 12 weeks ยท 0 commits

Full graph โ†’

Community health

5 of 6 standards met

Community profile โ†’
85
โœ“READMEโœ“Licenseโœ“Contributingโœ“Code of Conductโ—‹Issue Templateโœ“PR Template

Recent PRs & issues

Quiet ยท Last activity 2y ago
See all on GitHub โ†’
kadiryazici
I made my own fork (Pruve)OpenIssue

Not 100% fork but I've used vue/reactivity + preact + swift ui templating which is close to https://github.com/kadiryazici/pruve

kadiryazici ยท 2mo ago
h1y2k3
React19 cannot executeOpenIssue

Describe the bug Perhaps the version is too outdated.... Reproduction https://stackblitz.com/edit/react-19-beta-actions-usuelymj?file=src%2FApp.jsx System Info Used Package Manager pnpm Validations [x] Follow our Code of Conduct [x] Read the Contributing Guide. [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [x] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [x] The provided reproduction is a minimal reproducible of the bug. Contributions [ ] I am willing to submit a PR to fix this issue [ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

h1y2k3 ยท 1y ago
lsimone
not working with react 18.2.0: Cannot read properties of undefined (reading 'stop')OpenIssue

Describe the bug I experienced the issue on my codebase and I thought it was related with my code, but I reproduced the same error here: I am reproducing exactly the same sample of reactivue README. Expected result: no error thrown by lib and sample working correctly Actual result: error thrown by and "increase" button triggers the callback but we have no effects (counter value is still shown in DOM as ) !image Reproduction https://codesandbox.io/s/xenodochial-cookies-zzt8j2?file=/src/App.js System Info Used Package Manager npm Validations [X] Follow our Code of Conduct [X] Read the Contributing Guide. [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead. [X] The provided reproduction is a minimal reproducible of the bug.

lsimone ยท 2y ago

Recent fixes

View closed PRs โ†’
CJY0208
fix: lifecycle and watch issues after hmr updatesMergedPR

Description Fix the issue of lifecycle and listener anomalies after hot updates onMounted is executed repeatedly after a HMR (it should not be executed) onUpdated accumulates execution after a HMR (it should not accumulate) Reproducible demo: https://codesandbox.io/s/goofy-mirzakhani-ew0mqv !demo Linked Issues Additional context

CJY0208 ยท 3y ago
CJY0208
fix: onMounted and watch not working in dev modeMergedPR

Description In dev mode, when multiple components are rendered at the same time, only the onMounted method of the last component was triggered, and its data was reactive. Reproducible demo: https://codesandbox.io/s/youthful-pond-ffv60s !demo We identified that the issue was caused by compatibility problems with React.StrictMode, and we resolved it by removing the compatibility. Linked Issues Additional context

CJY0208 ยท 3y ago
CJY0208
feat: support vue 3.2MergedPR

Description support vue 3.2 using This change has been verified to work in my scoped npm package @cjy0208/reactivue online demo: https://codesandbox.io/s/agitated-satoshi-c34t7u I really like this tool and hope that this PR can help the 0.x version continue to work. Linked Issues #65 #64 #52 #51 #48 #45 Additional context

CJY0208 ยท 3y ago
Structured data for AI agents

Repository: antfu/reactivue. Description: ๐Ÿ™Š Use Vue Composition API in React components Stars: 1478, Forks: 38. Primary language: TypeScript. Languages: TypeScript (92.2%), JavaScript (7.8%). License: MIT. Topics: react, vue, vue-composition-api, vue-in-react. Open PRs: 17, open issues: 10. Last activity: 2y ago. Community health: 85%. Top contributors: antfu, sibbng, crutchcorn, CJY0208, Dav3rs, yi-tuan, sinoon.

ยท@ofershap

Replace github.com with gitshow.dev