4 - Accordion Widget: How to implement it from scratch
Автор: Matheus Alves
Загружено: 2024-07-08
Просмотров: 42
Описание:
In this video I explain how to implement an accordion widget from scratch, which involves thinking about the expected behavior, the required JSX, and the functionality that needs to be implemented.
As a bonus, by watching this video you'll learn the basics of Next.js's App Router, and how to use a JavaScript Map Object as component state.
🔗 Original project: • Build 25 React Projects – Tutorial
🔗 Data: https://github.com/sangammukherjee/25...
🔗 My source code: https://github.com/matheus4lves/build...
00:00 Next.js App Router basics
03:00 Accordion desired behavior
04:42 UI implementation
08:30 Mode selection toggling implementation
11:44 Using a JavaScript Map Object to keep track of answers' state and conditionally render them
18:45 How to call different functions for handling the different modes
20:20 Handling single selection
25:53 Handling multi selection
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: