BlocSignal offers Flutter devs a codegen-free alternative to Riverpod with incremental migration
A new Flutter package called BlocSignal, paired with bloc_signals_riverpod, aims to address common pain points faced by Riverpod developers as their projects scale. Developers using Riverpod often encounter friction from code generation overhead via build_runner, complex nested provider trees, and the difficulty of trialing new architectures without a full codebase rewrite. BlocSignal introduces zero-codegen, signal-graph-based reactivity through standard handwritten Dart classes, allowing reactive derivations to be declared inline using computed signals. The package is designed for incremental, screen-by-screen migration, meaning teams can adopt it gradually alongside existing Riverpod code rather than committing to an all-or-nothing switch. A side-by-side comparison using the classic Todos app demonstrates that BlocSignal can replicate Riverpod's compile-time safety and synchronous reactivity without requiring any code generation tooling.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in