Closed kiwi0fruit closed 6 years ago
The example given is for ReactJS, not react native, but assuming transcrypt did also work with RN theres still a major difference in library support.
Enaml native uses cross compiled CPython. Therefore any python libraries, including those with c-extensions, can be used as long as they can also be cross compiled (using conda mobile).
From what I understand, Transcript compiles python code to js and thus will not support using any existing python libraries with c extensions (ex numpy, lxml, crypto...).
Hope that helps.
I guess RN example is here: https://github.com/metamarcdw/react-native-transcrypt
I more or less understand the differences:
Which way you think more vitable or convenient in the future?
I think which is more viable/convenient depends on your needs and whether you prefer react or enaml.
Personally, I avoid transpilers (except cython) because of library incompatibilities that often come with.
How do you compare Transcrypt + React Native vs Enaml Native? Example of React Native in Transcrypt is here.