Replies: 1 comment
-
Make sure that your widget is properly rebuilding. Try adding a print before the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
im new in flutter and trying to watch a variable "count "that is in state of reducer like React native. I made my redux and hook work perfeclty. The variable count change in the screen but never call useEffect again(only once) event if i change de action. Tried diferente aproachs without success and tried to put StoreProvider.of(context).state.balanceState.count directly in the dependecis of useEffect. If i use useState works like should.
class StatePage extends HookWidget {
const StatePage({Key key}) : super(key: key);
@OverRide
Widget build(BuildContext context) {
}
}
Beta Was this translation helpful? Give feedback.
All reactions