Progressive Data Display from a Single Provider in Flutter #3357
-
Description I've implemented a solution to achieve progressive data display from a single API provider in Flutter, and I'd like to gather feedback to ensure it's the recommended approach. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Don't have the provider read itself using Rather than: ref.read(storeItemDetailsProvider(...).notifier).state = ...; do: state = ...; |
Beta Was this translation helpful? Give feedback.
Don't have the provider read itself using
ref.read
. I'm surprised this even works honestly.Rather than:
do:
state = ...;