Vue 3 Vs React

Posted on  by admin

React published a tutorial which creates “Tic-Tac-Toe” game for the purpose of learning by doing. I liked the way Dan Abramov explained basics of JavaScript in “Just JavaScript” series and React in “Tic-Tac-Toe” tutorial.

I have created the exact same “Tic-Tac-Toe” using Vue 3. Vue 3 code looks straight-forward than React, but I will leave the judgement to the readers 😄.

3. Vue vs React performance

The final React project created by Dan Abramov is available here. The final Vue 3 project created by me is available here. 💡Codepen has lot many restrictions. So both React and Vue 3 code shared has squeeze all the components into a single JS files.

Inspecting the Code. We have three components:. The Square component renders a single