Created
September 5, 2020 06:36
-
-
Save ttlg/5594280550e160347c44e01e4af0a84e to your computer and use it in GitHub Desktop.
todo view useEffect
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
useEffect(() { | |
context.read(todosViewController).initState(); | |
return context.read(todosViewController).dispose; | |
}, []); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pragmatic architecture using Riverpod