Тетрис на React
00:00 Introduction
03:40 create-react-app and tooling
06:57 Scaffolding Components
15:49 Stage and Tetrominos
32:05 Styling with Styled Components
57:19 usePlayer and useStage
1:12:51 Stage update and player movement
1:37:02 Collision Detection
1:50:46 Player RotationG
2:04:12 Clear Rows
2:11:37 drop with useInterval
2:18:47 useGameStatus and React.memo
https://github.com/weibenfalk/react-tetris-starter-files
✍️ @React_lib
Post #105
1.15K