Build Minesweeper with React & Typescript [3] - onClick and onContextMenu Events

Опубликовано: 06 Май 2026
на канале: Justin Kim
2,139
32

Create a complete minesweeper clone using React and Typescript!

In this part we will be adding event Handlers so that our game is playable. We will account for both left clicks and right clicks.

🗄 Resources:

Github Repo (TS): https://github.com/angle943/react-min...
Alternative Repo (JS): https://github.com/angle943/react-min...
Part 1 -    • Build Minesweeper with React & Typescript ...  
Part 2 -    • Build Minesweeper with React & Typescript ...  
Part 3 -    • Build Minesweeper with React & Typescript ...  
Part 4 -    • Build Minesweeper with React & Typescript ...  

🔑 Key Concepts:

React Hooks
CSS Grid
CSS Flexbox
SASS/SCSS mixins
SASS/SCSS variables
typescript Enum type
typescript interface

#React #Javascript #Typescript #SASS #SCSS #Minesweeper #Programming #Tutorial