Over the past 6 weeks we've been rebuilding the White Noise flutter app from scratch.
We use flutter_rust_bridge to keep all core logic and crypto in Rust. But trying to follow Flutter "best practices" led to too many providers, unclear state ownership, and caching at too many layers.
When we were in Costa Rica back in late November, we took a hard look at what we had and decided to do a spike based on a collection of ideas that
@nprofile1q... had. That spike quickly showed a lot of promise and we've combined it with a beautiful new design from
@nprofile1q... The new approach (codename Sloth ๐ฆฅ):
- Hooks for local/ephemeral state, not stateful widgets
- Providers only for shared app state
- whitenoise-rs crate is the source of truth, no Flutter-side caching
- 99.7% test coverage
Simpler patterns, faster iteration, way easier to reason about.
Sloths might be slow but they're the most efficient animals on the planet! This has also given us a chance to incorporate all the security audit feedback into MDK and whitenoise-rs so not only will the app be faster and more beautiful, it'll also be more secure!
I'm getting excited to launch the new White Noise in just a few weeks!