Building for Mobile and Web with Expo, part 6: TDD and Refactoring

Опубликовано: 13 Май 2026
на канале: CodingItWrong
377
8

In this series we rewrite a link-saving app in Expo, a framework built on top of React Native. This allows us to run the same codebase on Android, iOS, and the web. You can find the repo here: https://github.com/CodingItWrong/fire...

In this session we:

Finished our mark-read feature by removing a read bookmark from the list, confirming the menu is dismissed, and fixing some test warnings
Implemented deleting a bookmark via test-driven development
Refactored by extracting components, removing duplication, and improving names

Chapters:

0:00:00 - Intro
0:01:44 - Fixing test warnings by downgrading Jest
0:07:50 - Confirming a menu is dismissed
0:28:04 - Test-driving removing a link from the list when marked as read
0:35:40 - Refactoring by extracting a row component
0:41:37 - Test-driving deleting a link
0:50:19 - Refactoring with renames, removing duplication, and extracting another component
1:01:29 - Summary