Ethicist
Ethicist

Reputation: 827

Convert existing Electron codebase to React so it works with mobile

Is it possible to take a desktop app made with Electron js and somehow make it work on mobile? I read it's possible to convert React applications to Electron applications and I was wondering if it's possible to do it the other way around. It's likely it might not be possible to convert it 1:1 because of native functions etc. probably.

I haven't tried anything because I doubt it's possible - I just want confirmation.

Upvotes: 0

Views: 1541

Answers (1)

Jkarttunen
Jkarttunen

Reputation: 7621

Depends on what it does. If the functionality would work equally well on a website inside a browser then yes. You'll just need to store data somewhere else than on user's file system. But if the electron app uses native or node features, like accesses local files, then probably not so easily.

Upvotes: 1

Related Questions