CTO at INA
15 years as Software Engineer and Solutions Architect, I also have a strong experience in Leadership, Product Development and Project Management. Interested in: software architecture and development, excelent communication, people, personal development, playing guitar and travelling :)
Markdown supported · ⌘↵ to post
Very well written article with good examples. Thanks for explaining these concepts 👍
Aleksa
Great article, however, I don't think encapsulation is always the solution. Having lots of classes in React/Vue basically nullifies treeshaking, and unused parts of the classes will be bundled up in parts of the code where they are not actually used.
From frontend-only perspective, it is way more performant and intuitive to write hooks/composition functions instead, whether or not you use TS.