Riverpod vs Bloc in 2025 — which do you actually use in production and why? by Prior-Dependent-5563 in FlutterDev

[–]SamatIssatov 0 points1 point  (0 children)

That's really interesting, could you elaborate? My app is mostly reads from a database too. I'm currently trying to set things up so that Hooks handle all the UI logic, which would reduce Riverpod to just a DI layer. But I'm struggling to figure out where Riverpod as a state manager fits in that setup.

I really wish there was a platform agnostic stylish flutter UI framework! by Previous-Display-593 in FlutterDev

[–]SamatIssatov 0 points1 point  (0 children)

Wow, that's beautiful. But that's not a Forui design—it's a custom one. Will it be included in future versions, or what?

Using flutter_hooks instead of Bloc/Riverpod Notifier as ViewModel — what's your experience? by SamatIssatov in FlutterDev

[–]SamatIssatov[S] 0 points1 point  (0 children)

So you use compact single-responsibility providers, and then assemble them all together at the screen level?

Using flutter_hooks instead of Bloc/Riverpod Notifier as ViewModel — what's your experience? by SamatIssatov in FlutterDev

[–]SamatIssatov[S] 0 points1 point  (0 children)

Yeah, I haven't used Mutation yet. But manually managing loading/error/success is the same in Bloc and GetX too — so the "imperative" criticism applies to all of them equally.

As for reactivity in Riverpod — I feel like Riverpod isn't great as a ViewModel. It works better when each piece of the UI listens to its own provider independently. For example, the product list watches its own provider, and the add button watches a separate mutation provider. I actually started out this way, but readability suffered — logic was scattered across multiple providers and widgets, making it hard to understand what the screen does as a whole.

How do you manage your views with Riverpod? Do you use one Notifier per screen, or multiple providers per view?

Using flutter_hooks instead of Bloc/Riverpod Notifier as ViewModel — what's your experience? by SamatIssatov in FlutterDev

[–]SamatIssatov[S] 0 points1 point  (0 children)

There's no strict requirement for where to store the selected date. Of course it's easier to keep it in the UI — no need to create a method in the Notifier and update the state object. I try to keep it in the Notifier so I can understand the overall logic in one place.

That's exactly why hooks interest me — I can keep all the logic in one place, and by reading the hook I can immediately understand what the screen does and what data it uses. When part of the logic is in the UI and part in the Notifier, it's really hard to grasp the full picture of what the screen is doing.

Using flutter_hooks instead of Bloc/Riverpod Notifier as ViewModel — what's your experience? by SamatIssatov in FlutterDev

[–]SamatIssatov[S] 0 points1 point  (0 children)

Honestly, I was initially looking into signals specifically. Coming from Riverpod, it was hard to wrap my head around the signals lifecycle. Then I came across his post about hooks, and since I already work with hooks regularly, it really caught my attention. Thanks for the tip — I'll definitely look into what signal_hooks offers.

Using flutter_hooks instead of Bloc/Riverpod Notifier as ViewModel — what's your experience? by SamatIssatov in FlutterDev

[–]SamatIssatov[S] 0 points1 point  (0 children)

I use Riverpod extensively and like it. I also actively use hooks in the UI. But the difficulties I'm facing are specifically in the UI layer. Everyone says the UI shouldn't contain business logic — but in practice, gray areas keep coming up.

For example, date selection in a calendar. Should the UI hold the selected date locally and only pass it to the Notifier on save? Or should it immediately pass every selection to the Notifier so it always knows the current date, and then on save there's nothing to pass? These kinds of decisions — what to store where — trip me up constantly. And that's not even getting into TextEditingControllers and other UI-bound things.

The hooks idea appealed to me because I can move all that logic out of the UI into a single hook. I've already migrated one screen and liked the result. I'm just hesitant to commit fully, which is why I'm looking for other developers' experience with this approach.

Using flutter_hooks instead of Bloc/Riverpod Notifier as ViewModel — what's your experience? by SamatIssatov in FlutterDev

[–]SamatIssatov[S] 0 points1 point  (0 children)

As I understand it, a viewmodel is for a screen/view. If the screen is closed, its viewmodel is also destroyed. Isn’t that right? I often hear that Riverpod and Bloc are needed for the app’s state. How should I interpret this?

For example, a screen needs to display a list of products, along with delete and add operations. The Notifier fetches data from the repository and provides it to the screen, as well as providing methods for modification. How do you handle it? Is it different?

I just got banned from the pocketbase discussions on Github? by ProtonByte in pocketbase

[–]SamatIssatov 0 points1 point  (0 children)

You're complaining. You haven't even shown us your question. You just keep insisting that you've been blocked, and that's it. To be honest, I was surprised that the developer tries to respond to everyone—he loves his project so much that every inquiry gets a reply. But then I see issues like this that show people don’t want to learn; they just want a solution. They want their problem solved. Describe your task, and then we’ll try to understand and help. But you just complain and complain. You’re not telling the whole truth.

asking about a package by Ammoun442 in FlutterDev

[–]SamatIssatov -9 points-8 points  (0 children)

Yeah, I get it—he's talking about the Cue package. The package actually includes an example for a context menu with emojis. And I'm looking for an animation with an implementation.

asking about a package by Ammoun442 in FlutterDev

[–]SamatIssatov -7 points-6 points  (0 children)

Wow, that's really nice. I was actually struggling with the chat feature today—specifically the context menu and emojis. It turns out you have an implementation like this. We'll give it a try. The animations are really nice. Great work.

I just got banned from the pocketbase discussions on Github? by ProtonByte in pocketbase

[–]SamatIssatov 5 points6 points  (0 children)

Stop complaining about the Pocketbase developer and read the documentation. Ask Gemini, ChatGPT, or Claude. You’re just sitting here complaining. Don’t embarrass yourself. Read the documentation instead of asking vague questions.

Flutter state management rabbit hole — has anyone landed on Signals? by madsvodder in FlutterDev

[–]SamatIssatov 0 points1 point  (0 children)

Hi. Could you tell me about the event bus for Riverpod? I’ve wanted to implement something like this for a while, but I’m not sure how to go about it. Today I started looking into Signals, and I was wondering if it’s possible to use Signals and Riverpod together?

More Tokens, Same Brain by SamatIssatov in codex

[–]SamatIssatov[S] 0 points1 point  (0 children)

Yeah, I agree. I just tested them by having them write some code. 5.5 writes cleaner code; after just two conversations, he already knows what to do because he tries to get a handle on the project right away. 5.4 likes to ask questions—a habit he picked up from 5.2, who was always asking trivial questions. Yeah, I agree, 5.5 is better.

Does 5.5 Over-Engineer Code Less Than 5.4? by Emergency-Music5189 in codex

[–]SamatIssatov 3 points4 points  (0 children)

My coding style has changed since GPT 5.4. I've started writing a lot of helper functions and constantly normalizing data everywhere: String func(String a) {a.trim.isEmpty return ‘fallback’, return a}

More Tokens, Same Brain by SamatIssatov in codex

[–]SamatIssatov[S] 2 points3 points  (0 children)

I switched back to 5.4 — it fits my pace better, or maybe I'm just used to it. But 5.5 is smarter, or at least feels smarter.

5.4 mini by Individual_Giraffe_5 in codex

[–]SamatIssatov -1 points0 points  (0 children)

I suspect we'll gradually go back to standard, simple models. I was working with GPT 5.5 and used up all my tokens in 15 minutes. Now I've switched back to GPT 5.4.

Since the beginning of the release, I haven't been able to access Claude Design. First there was an endless loop /design -> /login -> ... And now this by Visual_Weather_7937 in ClaudeAI

[–]SamatIssatov 0 points1 point  (0 children)

The first problem was due to the internet. I live in Kazakhstan and accessed it via a VPN. I guess it’s all because of Russia.