~/blog/vue-tol-reactig.mdgit:(main)$cat post.md
cd ..

From Vue to React: a frontend journey

> For years the frontend was Vue/Nuxt. The move to React was less dramatic than I expected, and more instructive.

dateDec 8, 2025
read6 m · read
tagsReactVuefrontend

I liked Vue because its templating was close to my PHP roots. Moving to React wasn't a technical necessity, it was about the ecosystem.

##The mental model

The biggest difference isn't syntax, it's the reactivity model. Vue does magic behind the scenes; React is more explicit, and I came to like that.

jsx
const [items, setItems] = useState([]);
useEffect(() => {
  fetchItems().then(setItems);
}, []); // the [] is what confuses everyone at first

The dependency array is React's most common pitfall. Once you understand when an effect re-runs, half the mystique disappears.

##Any regrets?

No. But I still find Vue more elegant for smaller projects. The choice is contextual, not a religion.

~/bloggit:(main)$cd ../ # back to the index
> exit 0© 2026 Péter Tamás Czibula