vue-class-component
ES / TypeScript decorator for class-style Vue components. (by vuejs)
Angular
Deliver web apps with confidence π (by angular)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
vue-class-component | Angular | |
---|---|---|
13 | 699 | |
5,809 | 94,599 | |
-0.0% | 0.3% | |
2.9 | 10.0 | |
6 months ago | about 15 hours ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vue-class-component
Posts with mentions or reviews of vue-class-component.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-11.
-
The Rear-Vue Mirror: My Open-Source Origin Story
This was a good change. Evan has always been extremely good at putting his finger on the pulse of the frontend community. If there's a feature or paradigm that people love that would fit in Vue, Evan will incorporate it. Over the years, Vue has implemented (and sometimes later deprecated) dependency injection, JSX support, custom elements, Angular-style class components, Svelte-style ref sugar, and now Solid-inspired compiler optimizations. They even changed the order of a Vue file to match that of Svelte: first the script, then the template.
-
Is it possible to use Vue 3 components in a Vue 2 app?
That is the whole point. Just check this code. If it was written in a basic vue 2 syntax style it wouldn't be a probrem at all :D So I am looking for a workoround to reuse either a component, or the whole module(page). Some trick which won't require a refactoring of a large app.
-
React Veterans: Have you gotten into Vue and what are your thoughts?
The docs are not wrong perse because they distance themself from this package: https://github.com/vuejs/vue-class-component But at the time they recommended this package for best ts experience in vue 2. YOu can see that Evan's account is the second biggest contributor.
-
Vue + TS without class component ? No way!
Vue(TS) is abandoning vue-class-component, preferring to ask developers to use the Composition API. See https://github.com/vuejs/vue-class-component/issues/569
-
A vue-class-component alternative one in vue3.
Due to `vue-class-component` is [deprecated in vue3](https://github.com/vuejs/vue-class-component/issues/569). I built a alternative package to do that with many features.
-
Support for vue-class-component going forward
This topic has come up a few times, but I'm hoping that at some point there can be some official guidance from the Vue team on vue-class-components.
-
Trying to learn vue3 (class style component)+ typescript + pinia
According to the Github commit history, the last commit was on 15 Dec 2020. Also, in this conversation, it's saying this library is not maintained anymore, that's why it doesn't work with Vue 3 at all. I did switch from Vue 2 with class style component to Vue 3 since last May. I also switch from Vuex4 to Pinia since last December. I don't have any big issue regarding pass props through different components or using Pinia. The best way to understand how it works is checking Vue 3 and Pinia official document.
-
Vue 3 production-ready analysis
I'm particularly a little salty about the situation of vue-class-component. This is an officially supported vue library that thousands of people use (including myself), and it has been left to die on the vine with regard to Vue3. It has been in the same RC state for over a year, with no communication or support as to what is happening.
-
Thoughts about the state of Vue & the 2/3 transition
3) Previously officially supported projects are being essentially abandoned. Vue Cli has been waiting for V5 for the past year, with no indication of release date, and now is in "maintenance mode". Vue Class Component has similarly been waiting for an update for over a year, and still does not have an official release that supports Vue3.
-
Objects and v-model in Vue3
When I was using Vue2 along with vue-class-component and vue-property-decorator it was easy to synchronize v-models between components simply using @ModelSync(). When Vue 3 came out with its Composition API another way was needed to achieve the same result as if Class Component was used.
Angular
Posts with mentions or reviews of Angular.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-16.
-
Angular Signals, Reactive Context, and Dynamic Dependency Tracking
/** * https://github.com/angular/angular/blob/75a186e321cb417685b2f13e9961906fc0aed36c/packages/core/src/render3/reactivity/untracked.ts#L15 * * packages/core/src/render3/reactivity/untracked.ts * **/ export function untracked(nonReactiveReadsFn: () => T): T { const prevConsumer = setActiveConsumer(null); try { return nonReactiveReadsFn(); } finally { setActiveConsumer(prevConsumer); } }
- Episode 24/15: Wiz behind the curtain, Copilot in VSCode
-
Always unsubscribe. No exceptions. Debate closed.
source: https://github.com/angular/angular/issues/46542
-
Angular Signals: Best Practices
Besides the dangers, mentioned by Angular docs (infinite loops, change detection errors), there is another thing, that might be quite nasty: effects are executed in a reactive context, and any code you call in effect, will be executed in a reactive context. If that code reads some signals, they will be added as dependencies to your effect. Here Alex Rickabaugh explains the details.
-
Understanding control flow syntax in Angular 17
In June 2023, the Angular team raised a new RFC to implement control flow syntaxes within Angular. They gave the following rationale for introducing control flow syntax:
- Episode 24/09: Testing without TestBed, SSR & Hydration
-
Preparing our Code for Zoneless Angular
For scheduling, I use awesome code I found in the Angular source code.
-
β° Itβs time to talk about Import Map, Micro Frontend, and Nx Monorepo
Just to give you more context, I led the migration of several AngularJS applications to the newer Angular Framework. My client finally decided to make that move following the AngularJS deprecation announcement (stay up to date please π)οΈ.
-
Conventional commit specification
Link β angular/CONTRIBUTING.md
-
Angular Control Flow: the complete guide
Angular v17 was released some months ago with a ton of new features, a brand new logo and the new blog angular.dev.
What are some alternatives?
When comparing vue-class-component and Angular you can also consider the following projects:
composition-api - Composition API plugin for Vue 2
Next.js - The React Framework
vue-facing-decorator - Vue typescript class component decorators
qwik - Instant-loading web apps, without effort
vue-property-decorator - Vue.js and Property Decorator
SvelteKit - web development, streamlined
vite - Next generation frontend tooling. It's fast!
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
create-vue - π οΈ The recommended way to start a Vite-powered Vue project
solid - A declarative, efficient, and flexible JavaScript library for building user interfaces.
vitesse - π Opinionated Vite + Vue Starter Template
lit - Lit is a simple library for building fast, lightweight web components.
vue-class-component vs composition-api
Angular vs Next.js
vue-class-component vs vue-facing-decorator
Angular vs qwik
vue-class-component vs vue-property-decorator
Angular vs SvelteKit
vue-class-component vs vite
Angular vs Alpine.js
vue-class-component vs create-vue
Angular vs solid
vue-class-component vs vitesse
Angular vs lit