{"library":"vue-to-react","type":"library","category":null,"description":"The `vue-to-react` package is a command-line interface (CLI) tool designed to transform Vue components, including both JSX and Single File Components (SFCs), into React components. It aims to assist developers in migrating existing Vue.js codebases to React by automating the conversion of component structure and partial logic. The package reached its 1.0.0 version but development appears to have ceased around 2018, indicating an abandoned status rather than active development. Key differentiators included its attempt to support both Vue JSX and SFCs, and its mapping of a limited set of Vue lifecycle methods to their React equivalents. However, it has significant limitations, explicitly stating it does not support advanced Vue features like object/array syntax for class/style bindings, `watch` or `components` props for JSX components, custom directives, filter expressions, and certain `v-bind`/`v-on` shorthands. Its utility is thus restricted to very simple component structures.","language":"javascript","status":"abandoned","version":"1.0.0","tags":["javascript","react","vue","transformation","vue-to-react"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-to-react","imports":["npm install -g vue-to-react","vtr -i path/to/MyVueComponent.js -o output/directory -n ReactJsxComponent","vtr -i path/to/MyVueComponent.vue -o output/directory -n ReactSfcComponent"]},{"cmd":"yarn add vue-to-react","imports":[]},{"cmd":"pnpm add vue-to-react","imports":[]}],"homepage":null,"github":"https://github.com/dwqs/vue-to-react","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-to-react","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-to-react/compatibility"}}