An open API service indexing awesome lists of open source software.

https://github.com/chrisladzamach/jsx2native

JSX2Native is a code converter that transforms components written in JSX for React.js into code compatible with React Native. Its goal is to facilitate the migration of web projects to mobile applications without the need to rewrite the basic structure of components.
https://github.com/chrisladzamach/jsx2native

app-web converter-app jsx jsx-converter jsx-converter-reactnative jsx-native jsx-syntax react-native web-app web-application

Last synced: 2 months ago
JSON representation

JSX2Native is a code converter that transforms components written in JSX for React.js into code compatible with React Native. Its goal is to facilitate the migration of web projects to mobile applications without the need to rewrite the basic structure of components.

Awesome Lists containing this project

README

        

**En-lang**
---

# JSX2Native

**JSX2Native** is a code converter that transforms components written in JSX for React.js into code compatible with React Native. Its goal is to facilitate the migration of web projects to mobile applications without the need to rewrite the basic structure of components.

## 🚀 How it works?

JSX2Native analyzes the JSX code of a React component and adapts it for use in React Native. This involves:

- Converting HTML tags into native components.
- Replacing incompatible properties.
- Adapting styles using `StyleSheet`.

## 🛠️ Technologies used

- **React.js** for the converter interface.
- **JavaScript (ES6+)** for code processing.
- **Babel** for JSX parsing and transformation.
- **React Native Elements** as a reference for equivalent components.

🔄️ This project is still under development, and improvements will continue to be added to expand compatibility and optimize conversion.🔄️

## 📷 Image of project.
![image](https://github.com/user-attachments/assets/83acad1d-d644-463f-9a33-e74ad3038810)

**Es-lang**
---

# JSX2Native

**JSX2Native** es un conversor de código que transforma componentes escritos en JSX para React.js en código compatible con React Native. Su objetivo es facilitar la migración de proyectos web a aplicaciones móviles sin necesidad de reescribir la estructura básica de los componentes.

## 🚀 ¿Cómo funciona?

JSX2Native analiza el código JSX de un componente de React y lo adapta para su uso en React Native. Esto implica:

- La conversión de etiquetas HTML en componentes nativos.
- La sustitución de propiedades incompatibles.
- La adecuación del estilo mediante `StyleSheet`.

## 🛠️ Tecnologías utilizadas

- **React.js** para la interfaz del conversor.
- **JavaScript (ES6+)** para el procesamiento del código.
- **Babel** para el análisis y transformación de JSX.
- **React Native Elements** como referencia para componentes equivalentes.

🔄️ Este proyecto aún está en desarrollo y se seguirán agregando mejoras para ampliar la compatibilidad y optimizar la conversión.🔄️

---
## 📷 Imágen del proyecto.
![image](https://github.com/user-attachments/assets/2d51dff5-acd5-4a69-82a6-c96f0536be1a)