Everything-Explained / evex-client

The SPA that is served by the web server for Everything Explained.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Use new Vue Script Setup structure for components #65

Closed Jaeiya closed 3 years ago

Jaeiya commented 3 years ago

This is an RFC that has since been placed into the Beta version of Vue and is nearing its stable release. The RFC can be found here: https://github.com/vuejs/rfcs/blob/master/active-rfcs/0040-script-setup.md

This reduces the friction further between the Model and View for Vue components. There's a lot of magic happening under the hood, but I feel like that magic is obfuscating a part of the code that was unnecessarily a part of the process. With less boilerplate code to setup a component, it feels a lot quicker to get to the meat of functionality. Productivity is all that matters and I feel these changes have increased my productivity quite a bit, even in the short term where I've used it.

Seeing as this is going to become a stable part of the Spec, adopting this more productive structure appears to be the right move for the whole project.

Jaeiya commented 3 years ago

Rewrite CMS Build Process