realm-studio icon indicating copy to clipboard operation
realm-studio copied to clipboard

Rewrite Studio into a React or React Native component

Open astigsen opened this issue 1 year ago • 1 comments

We should make Studio a React Component, so that we can use it not only as we currently do in an Electron application for the desktop, but also in the browser with wasm, as a standalone mobile app with React Native, or embedded in your own app for debugging.

astigsen avatar Nov 22 '23 15:11 astigsen

To be honest, this is probably a bit more involved than a refactor. Since the app is written with a tight coupling to React DOM (using HTML primitives, which would make it impossible to ship in a React Native app) and we learned a lot along the way, it would probably be more valuable to re-write is as a React Native component (which use more abstract primitives, such as View and Text, etc.). This could be built to be embeddable in another website via react-native-web, in standalone apps for iOS, Android, macOS and Windows (see other potential platforms on https://reactnative.dev/docs/out-of-tree-platforms).

kraenhansen avatar Nov 22 '23 16:11 kraenhansen