Closed ggirotto closed 2 years ago
Shouldn't all of your useEffect be called only once, thus, passing an empty array of keys to its call?
Makes sense, there's no need to run them on every build
@matuella Missed your thoughts about using StateNotifierProvider
as the fields validation instead StreamController
or even external libs as rxdart
. Do you liked the proposal?
@matuella Updated to use rxdart
and streams as we've discussed
In this PR I suggest the usage of
StateNotifierProviders
to control the workflow of a form - in this use-case, the collection details. I honestly see no reasons in this case for usingrxdart
as we've discussed, even because we could use normalStreamController
s if you disagree about this suggestion.Open to discussion.