18 ms·
Let's face it, HTML is a markup language and that's the presentation layer. It allows for anyone to inspect a page and find a component or UI element. What Rea
by martin_drapeau 3y ago
Let's face it, HTML is a markup language and that's the presentation layer. It allows for anyone to inspect a page and find a component or UI element.
What Reactive frameworks got right is to respect that. Separate presentation (HTML) from the logic (JavaScript: props, derived, methods, etc). Directives à la Vue are easy to understand and inject in the HTML markup.
What they also got right is to modularize UI elements into components.
This makes for any developer that master HTML to rapidly understand the code of any front-end code base.