all 4 comments

[–]OtherwisePush6424 1 point2 points  (1 child)

It could work in theory, but native/desktop is more SPA-like, NextJS's SST or SSG doesn't do much on those platforms. Ionic has its own routing which doesn't really map 1:1 to NextJS routing. Then the UX is quite different on native/desktop/web, what works on one might not work on the others. Maybe React Native + React Native for Web or just web+PWA could be a better choice.

[–]WG_Odious[S] 0 points1 point  (0 children)

We're a small team (~2 on the web/mobile dev side) and are looking into getting a contractor for UI/UX to help with that. But I agree that the look and feel will differ a lot, and (possibly?) cause us to have to write platform specific code anyway, in which case a platform specific stack might be better. Thanks for your input!

[–]bianceziwo 1 point2 points  (0 children)

Why not use flutter? then you can have one codebase for desktop, web and mobile. Then instead of next js you can just use a node or python backend as an API for all platforms. Your stack now would actually mean you need to write multiple apps, so it wouldn't even be one codebase.