Mobile Tech
1.21K subscribers
106 photos
12 videos
6 files
150 links
Michael Lazebny's blog about @dart and @flutter
lazebny.io
Download Telegram
A package should do a single thing and do it well.

If the package solves state management, it should expose APIs specifically for that purpose โ€“ it should not concern itself with dependency injection or database storage.

A package that has many responsibilities likely tries to connect them under a single API, which adds more coupling and more unknowns to it. Such packages are considered red flags.

Applications built with packages that are "red flags" tend to be "red flags" in terms of maintenance/scalability/performance.

#architecture
๐Ÿ‘8๐Ÿ’ฏ4๐Ÿ‘Ž1