Inertia: [inertia-vue] [Suggestion] Inertiajs pwa and hybrid mobile

Created on 20 Dec 2019  路  4Comments  路  Source: inertiajs/inertia

Hello,
I found interiajs is powerfull and can help developer to build spa as easy as hot cake.
There is some features that we need to become best.

  1. PWA: By supporting pwa developer can fouce on one code base.
  2. Out put for cordova or hybrid: if we build dist folder or public folder that contain html file for cordova app we can build it and make mobile app which is very exciting.

In this way one code base can be used for all platform.

Most helpful comment

Neat thoughts, and things we'll keep in mind for the long-term roadmap. Thanks for sharing! 馃憤

All 4 comments

Server-rendered framework into PWA? lol

Server-rendered framework into PWA? lol

This is an unnecessary comment.

PWA: By supporting pwa developer can fouce on one code base.

  1. Here's some reading materials if anyone wants to look into it.

https://developers.google.com/web/progressive-web-apps/
https://sunkanqiang.com/how-to-turn-ssr-react-spa-into-pwa/
https://medium.com/dev-channel/building-a-hybrid-rendered-pwa-c9d645baf158

Without having too much research into this it seems that most of the examples above dictate that you need to lift functionality from the server to JavaScript. This would be counter-intuitive in the case of Inertia, since it's the very functionality that InertiaJS fights to provide for you on the server-side.

Am I understanding this correctly?

Out put for cordova or hybrid: if we build dist folder or public folder that contain html file for cordova app we can build it and make mobile app which is very exciting.

  1. I'm not sure how this would work. Again, the idea with Inertia is that you separate the Server-Side code with the Front-end. I guess a Cordova/Node adapter could be made to serve as the server-side, but, what would you use for the front? There's no distinction between the two in a Cordova App, no?

Neat thoughts, and things we'll keep in mind for the long-term roadmap. Thanks for sharing! 馃憤

So good ! Well, I think I'll risk write a adapter for the quasar-ui before major releases.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sebastiandedeyne picture sebastiandedeyne  路  3Comments

kufdaw picture kufdaw  路  6Comments

TimVanHerwijnen picture TimVanHerwijnen  路  5Comments

sammagee picture sammagee  路  3Comments

ambethia picture ambethia  路  5Comments