vue3class
By djpate
react-class-decorator
decorator experiment with react (by jaeming)
vue3class | react-class-decorator | |
---|---|---|
1 | 1 | |
0 | 0 | |
- | - | |
10.0 | 10.0 | |
about 2 years ago | about 2 years ago | |
Vue | TypeScript | |
- | - |
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.
vue3class
Posts with mentions or reviews of vue3class.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-13.
-
Why Vue Class Component is not being updated anymore?
Assumptions aside, we do know that Composition API is what's being pushed as a typescript-friendly solution and the preferred approach so if you really like the Class syntax, Vue might not be the best fit anymore. There are a few libraries out there that make use of Classes and decorators. Angular is one. Aurelia is another one. You could even use React as I don't think it's support for class syntax will be going away anytime soon. One night recently I sat down and wrote some decorators for React classes, including a Prop and Watch decorator. The Component decorator handles the constructor and state binding (setting up getters and setters). Check it out here. There's nothing particularly magical about implementing your own decorators. You could do the same kind of thing for Vue pretty easily as well and just make a class that outputs an options object. I've seen a proof of concept here.
react-class-decorator
Posts with mentions or reviews of react-class-decorator.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-13.
-
Why Vue Class Component is not being updated anymore?
Assumptions aside, we do know that Composition API is what's being pushed as a typescript-friendly solution and the preferred approach so if you really like the Class syntax, Vue might not be the best fit anymore. There are a few libraries out there that make use of Classes and decorators. Angular is one. Aurelia is another one. You could even use React as I don't think it's support for class syntax will be going away anytime soon. One night recently I sat down and wrote some decorators for React classes, including a Prop and Watch decorator. The Component decorator handles the constructor and state binding (setting up getters and setters). Check it out here. There's nothing particularly magical about implementing your own decorators. You could do the same kind of thing for Vue pretty easily as well and just make a class that outputs an options object. I've seen a proof of concept here.
What are some alternatives?
When comparing vue3class and react-class-decorator you can also consider the following projects:
vue-facing-decorator - Vue typescript class component decorators