Elte Hupkes

Results 36 comments of Elte Hupkes

This is also happening to me regularly when I accidentally hit caps lock while typing. It started with my old MBP after the upgrade to Catalina. The new MBP I...

After using Elements for a few weeks without issue I recently encountered this problem on a 16" M1 Macbook Pro. The only thing I did that was out of the...

Would it be possible to cancel / delay the route change through these callbacks? I feel like this could be a good mechanism to prevent route changes in case, for...

I just ran into this issue. One of my screens may change a query parameter based on loaded data, but to prevent losing the route stack it needs access to...

The suggestion > ```dart > Future fetch() aynsc => 42; > > class Whatever extends StateNotifier { > Whatever(): super(const AsyncValue.loading()) { > _fetch(); > } > > Future _fetch()...

> If you aren't handling the situations where data is still loading then I feel like that's a fundamental mistake. I want _something_ to worry about the loading and error...

The whole point of the above, I should add, is that you can create a `StateNotifier` from an async value _and_ listen to it with `ref.watch(...)`, without the `StateNotifier` itself...

Okay one more before I stop polluting this issue, I completely forgot about `ProviderScope`, but I feel like this is probably the best solution: ```dart import 'package:flutter/material.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; void...

> I was only advocating this method because you said you wanted to 1) get data from some async function and 2) store that data in a statenotifier without requiring...

@Lupeiwen0 One of the reasons for wanting to have this is the ability to watch for changes in the current route object (parameters, query parameters, etc) from the active component....