Subclassing native JS classes (eg. React.Component)

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Subclassing native JS classes (eg. React.Component)

Herby Vojčík

It seems to me it is pretty hard to subclass existing native JS classes
and override methods. If you did something like that (for example, you
subclassed React.Component and supplied render and other lifecycle
methods), how did you do it?

Maybe should support "wrapping for subclassing" somehow?


You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit