37 components in our Expo app, and the one nothing has ever imported was written in the first commit

typescript dev.to

Munchable's app has no component library under it. 37 hand-written components, 3,056 lines, 83 lines each on average, and everything on screen is built out of them. I wanted to know which ones were actually load-bearing, so I counted importers: for each component, how many other files in src/ and app/ mention it at all, excluding its own file. The top of the list is unsurprising and the bottom is the interesting part. Text 37 Icon 29 Screen 17 Bu

Read Full Tutorial open_in_new
arrow_back Back to Tutorials