|
|
|
|
|
by larzang
2855 days ago
|
|
> Which is one reason why I don't quite understand why there are class based components at all. Classes in js are just syntax sugar, so even if you're writing classes you're still actually writing function prototypes. As such there's little reason not to support them, and they're very welcome when you have a team of developers that are adapting to modern js development almost exclusively from traditional OO languages. |
|