react-class-decorator

decorator experiment with react (by jaeming)

React-class-decorator Alternatives

Similar projects and alternatives to react-class-decorator

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better react-class-decorator alternative or higher similarity.

react-class-decorator reviews and mentions

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?
    3 projects | /r/vuejs | 13 Jun 2022
    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.

Stats

Basic react-class-decorator repo stats
1
0
10.0
almost 2 years ago

The primary programming language of react-class-decorator is TypeScript.


Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com