-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Motivations behind this package and limitations #42
Comments
I have found this issue to be a limitation |
A big limitation! |
The reason is pretty obvious in my view: providing a plug and play solution for deploying a nuxt project on mobile. |
I created some example of what I think this module can do for us in terms of SSR with Nuxt and Ionic https://github.com/saviorsoul/nuxt-ionic I added one missing piece of nuxt router which was not included in this module:
the result is that now nuxt server is trying to generate HTML from components but without ionic web-components context, so it basically creates a DOM structure which contains all needed data but is always rendered without possibility to hydrate. Adding ionic web-components context on client-side hydration always changes the DOM structure. So for now my understanding is like this:
https://medium.com/patternfly-elements/web-components-and-seo-58227413e072
So I think to summarise this whole concept, maybe SSR integration with Ionic doesn't gives us easy way of pre-rendering DOM structure on server-side but can gives us all other benefits from both Nuxt and Ionic frameworks? |
📚 Is your documentation request related to a problem?
I personally would like to know what are the motivations behind this package, and what are the known limitations or limitations you have been thinking about. It seems quite obvious to me that the goal behind nuxt with ionic allows cross platform development with one codebase and still get the advantages of nuxt. To my understanding, just like with next.js in react world, people are mainly using nuxt for the developer experience and SSR/SSG for SEO performance. Correct me if I'm wrong, but SSR shines for unpredictable data (e.g. user generated data) and SSG shines for stable data. One of my main concern is: do SSR and SSG work in this package? There is this package in next world, but they say SSR doesn't work out of the box.
Lastly, are there any other undocumented known limitations?
Knowing and documenting those two points could help other developers have a sense of a kind of roadmap and contribute more easily perhaps.
🔍 Where should you find it?
Seems like one of the first things to tell. It's always good to start with WHY (see Simon Sinek) in my opinion.
ℹ️ Additional context
No response
The text was updated successfully, but these errors were encountered: