Skip to content
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

Update to Vue3 #1106

Open
NatHillardUSDR opened this issue Mar 15, 2023 · 0 comments
Open

Update to Vue3 #1106

NatHillardUSDR opened this issue Mar 15, 2023 · 0 comments

Comments

@NatHillardUSDR
Copy link
Contributor

NatHillardUSDR commented Mar 15, 2023

Background

Our app currently uses Vue2, which is behind the latest release, Vue3 -- Vue3 became the default on February 7, 2022.

According to https://v2.vuejs.org/lts/ , Vue2 will be end-of-life'd by the end of 2023. At that time, while still available, it will no longer receive updates, including security and browser compatibility fixes.

Vue3 is a non-trivial upgrade that will require some degree of rewriting -- see more here.

An even bigger problem is that many libraries that we rely on, e.g. Vue-Formulate, either don't support vue3 out of the box or have substantially different implementations / interfaces for their vue3 variants (this latter is the case with Vue-Formulate, which has an entirely different Vue3 variant called FormKit). Some libraries are old and have not been updated to support vue3 - we may need to consider finding alternatives to these.

We should do an audit of this and its potential impact.

Prior Work

There was a previous issue about migrating to Vue 3 here: #45 , and even a patch around this, but work on this was deprioritized at the time.

Potential Next Steps

  • We should audit potential impact of a vue3 upgrade on our libraries
  • There's a build of vue3 that includes support for vue2, called the Migration Build that we may be able to drop in to help us as an interim solution; we can then write new components in Vue3 while needing to minimally change existing files. It might be worth trying this out?
@NatHillardUSDR NatHillardUSDR changed the title Vue2 is EOL by EOY 2023 Update to Vue3 Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant