Dave Rupert digs into some of his favorite Vue features and one particular issue that he has with React:
I’ve come to realize one thing I don’t particularly like about React is jumping into a file, reading the top for the state, jumping to the bottom to find the render function, then following the method calls up to a series other sub-rendering functions only to find the component I’m looking for is in another castle. That cognitive load is taxing for me.
I wrote about this very problem recently in our newsletter where I argued that finding my way around a React component is difficult. I feel like I have to spend more energy than necessary figuring out how a component works because React encourages me to write code in a certain way.
On the other hand, Dave, says that Vue matches his mental model when authoring components:
// Start with a foundation of good HTML markup
And this certainly matches the way I think about things, too.
Direct Link to Article — Permalink
The post What I Like About Vue appeared first on CSS-Tricks.
0 Comments