-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Nuxt is undoubtedly a huge framework that's trying to do everything for everyone but in a small community that's basically the only way to ensure that the project has a sustainably large "tent". There have been smaller projects like îles or Gridsome that have materialised but are now not actively maintained. Nuxt also lacks backing of large teams like Vercel. I don't agree that Nuxt "ends up not being the best choice for any use case" because if your use case is a large, multi-page Vue site with SSR, Nuxt is the best you have 😉. That said I have also had a conversation about our lock-in with Nuxt with @sarayourfriend and I agree that Nuxt moves very slowly and we usually do not get to make use of faster, smaller updates across the Vue ecosystem that would be possible were we not locked into Nuxt. Astro I have used Astro a little bit and while it's very enjoyable to work with, I have some minor complaints.
Overall I do not think that we should be deciding a framework based on how decoupled it is from Vue as it is not realistic for us as a resource-constrained team to port the entire frontend into a different UI framework. Even upgrading to Nuxt 3 was considerable effort that was difficult to parallelise and spread across multiple developers, so I could see switching to a new framework would be a massive year-long project. |
Beta Was this translation helpful? Give feedback.
-
TIL that Astro has full SSR capabilities. I didn't know that, very cool. I 100% agree with Dhruv that we should not try to move away from Vue. Vue is not the problem here, and like Dhruv said, we don't have the resources to re-rewrite the application from scratch (which, if we did, I think we could broaden the options, or maybe choose some more traditional ones like Django templates). I need to think about this a bit. The things I want to think about are:
Something I am extremely keen to discuss is whether our approach to upgrading to Nuxt 3 can be modified. I shared these thoughts with @obulat when she was in the midst of things in January with the attempted Nuxt 3 upgrade. The update was in a strange and complex space, and I suggested to Olga that the following questions were worth considering:
I need to think more about the options you've shared, Zack, but I also think we are missing something important if we don't ask why our application is so hard to upgrade, and whether focusing on that, at least for a bit, rather than significant new frontend features, puts us in a better position for long-term flexibility regardless of whatever meta-framework we use to render our Vue components. |
Beta Was this translation helpful? Give feedback.
-
From @dhruvkb:
To clarify a bit, I also 10000% agree we shouldn't switch away from Vue. The reason to consider a framework like Astro is that it is a way of benefiting from the size and resources of other frontend framework ecosystems (React in particular) while continuing to use Vue and our wonderful existing components. That said, I think "should we switch meta frameworks" is a small part of our overall 2024 frontend strategy and only one possible avenue. Much of what @sarayourfriend said resonates with me deeply. I think the whole conversation is summarised quite well by this point:
Generally I think some sort of frontend audit, to identify "pain points", oddities, and inconveniences with the frontend codebase (as opposed to the UI), could be an ideal next step. |
Beta Was this translation helpful? Give feedback.
From @dhruvkb:
To clarify a bit, I also 10000% agree we shouldn't switch away from Vue. The reason to consider a framework like Astro is that it is a way of benefiting from the size and resources of other frontend framework ecosystems (React in particular) while continuing to use Vue and our wonderful existing components.
That said, I think "should we switch meta frameworks" is a small part of our overall 2024 frontend strategy and only one possible avenue. Much of what @…