lundi 29 octobre 2018

OLOO vs. OO in reactjs front-end web dev

I read Kyle's book, and I found it really informative. But I am a little confused on the discussion in "You Don't Know JS: this & Object Prototypes".

That series say that Object Linking to Other Object design pattern is cleaner and simpler then object oriented design pattern. I do agree with this.

But I notice that many react code snippet prefer using ES6 class keyword which represents object oriented code style.

Aucun commentaire:

Enregistrer un commentaire