Is it possible with react-native-skia to create my graphical environment in linux? #1232
-
Hi everyone! I would like to know if it is possible to create a linux graphical environment with react-native. So my question would be... in the context... of react-native's current capabilities, would this be possible? Could I create my graphical environment on linux like something like XFCE, Gnome etc? why?The reason for this question is that... I, for example, build a lot of websites with react. Also, I build a lot of apps on android/ios with react-native. I really like the react-native-skia and linux project, I would like to use these two things - for example creating my GUI in linux with react-native. So... Is it possible with react-native-skia to create my graphical environment in linux? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I like these kinds of questions and fun rabbit holes :) In React Native Skia, we use a React renderer which has no coupling with any platform. It can run literally anywhere where React runs (include nodejs). From there, you do need to bind to an instance of Skia. On web we use CanvasKit (Skia compiled via WebAssembly) and iOS and Android we have our own C++ binding done via JSI. |
Beta Was this translation helpful? Give feedback.
I like these kinds of questions and fun rabbit holes :)
In React Native Skia, we use a React renderer which has no coupling with any platform. It can run literally anywhere where React runs (include nodejs). From there, you do need to bind to an instance of Skia. On web we use CanvasKit (Skia compiled via WebAssembly) and iOS and Android we have our own C++ binding done via JSI.