3 ms·
> The beauty of React is that it forces you to think in a slightly different way. Vue seemed more accessible for a spaghetti code writer This has been my exper
by indexerror 10y ago
> The beauty of React is that it forces you to think in a slightly different way. Vue seemed more accessible for a spaghetti code writer
This has been my experience too with React and Vuejs. React requires thorough planning beforehand to write good code. You need to plan the parent-children structure before you jump in. It's easy to write shitty code in react too if you jump in headfirst; resulting in the kind of "enterprise boilerplate" others are talking about in this thread. Personally, I am happy with React at the moment (and React Fiber let's you return an array of components, so no more wrapping your components around a span - yay!).
- jhoffner 10y agoI haven't tried React but I felt the complete opposite with Vue. I've never written more beautiful front-end code than what I've done in Vue. Did you use .vue files? Did you use a proper state tree like Vuex?