如何在React Native应用程序中使用python代码? [英] How to use the python code in React Native app?

查看:649
本文介绍了如何在React Native应用程序中使用python代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用React Native作为前端,并在python中实现核心逻辑。如何实施?是否有一个python包装器
为js,支持react native

I want to use React Native as a front-end and the core logic to implement in python. How it can be implemented? Is there a python wrapper for js, with support for react native

推荐答案

是的,你可以使用 Transcrypt 。它支持React,包括汇编JSX 源代码嵌入Python。

Yes, you can use Transcrypt. It supports React, including compilation of JSX source embedded in Python.

免责声明:我是该项目的发起人。

Disclaimer: I am the initiator of the project.

这篇关于如何在React Native应用程序中使用python代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆