You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i am learning Redux, your sample is very helpful.
But I have some questions and hope to answer them...
In redux sample, when i click Checkbox, StoreConnector(FilteredTodos) will return whole TodoList, ListView.builder(TodoList) will rebuild all TodoItem, so i thinks the all TodoItem should be rebuilded.
However, in reality, when i open Flutter inspector - Repaint Rainbow this can Shows rotating colors on layers when repainting., according to photo only TodoItem that are clcik will be repainted.
I tried deleting 'key', but the result is the same.
In When to Use Keys - Flutter Widgets 101 Ep. 4, Statless Widget only will compared the type and key to update widget, I don't know why it only rebuild one TodoItem rather than all 'TodoItem'.
The text was updated successfully, but these errors were encountered:
Hi, i am learning Redux, your sample is very helpful.
But I have some questions and hope to answer them...
In redux sample, when i click
Checkbox
, StoreConnector(FilteredTodos) will return whole TodoList, ListView.builder(TodoList) will rebuild allTodoItem
, so i thinks the allTodoItem
should be rebuilded.However, in reality, when i open Flutter inspector -
Repaint Rainbow
this can Shows rotating colors on layers when repainting., according to photo onlyTodoItem
that are clcik will be repainted.I tried deleting 'key', but the result is the same.
In When to Use Keys - Flutter Widgets 101 Ep. 4, Statless Widget only will compared the type and key to update widget, I don't know why it only rebuild one
TodoItem
rather than all 'TodoItem'.The text was updated successfully, but these errors were encountered: