Mihail Paley
Committed by GitHub

Update state_management.md

@@ -776,7 +776,7 @@ In a decade working with programming I was able to learn some valuable lessons. @@ -776,7 +776,7 @@ In a decade working with programming I was able to learn some valuable lessons.
776 My first contact with reactive programming was so "wow, this is incredible" and in fact reactive programming is incredible. 776 My first contact with reactive programming was so "wow, this is incredible" and in fact reactive programming is incredible.
777 However, it is not suitable for all situations. Often all you need is to change the state of 2 or 3 widgets at the same time, or an ephemeral change of state, in which case reactive programming is not bad, but it is not appropriate. 777 However, it is not suitable for all situations. Often all you need is to change the state of 2 or 3 widgets at the same time, or an ephemeral change of state, in which case reactive programming is not bad, but it is not appropriate.
778 778
779 -Reactive programming has a higher consumption of RAM that can be compensated for by the individual workflow, which will ensure that only one widget is rebuilt and when necessary, but creating a list with 80 objects, each with several streams is not a good one idea. Open the dart inspect and check how much a StreamBuilder consumes, and you'll understand what I'm trying to tell you. 779 +Reactive programming has a higher RAM consumption that can be compensated for by the individual workflow, which will ensure that only one widget is rebuilt and when necessary, but creating a list with 80 objects, each with several streams is not a good one idea. Open the dart inspect and check how much a StreamBuilder consumes, and you'll understand what I'm trying to tell you.
780 780
781 With that in mind, I created the simple state manager. It is simple, and that is exactly what you should demand from it: updating state in blocks in a simple way, and in the most economical way. 781 With that in mind, I created the simple state manager. It is simple, and that is exactly what you should demand from it: updating state in blocks in a simple way, and in the most economical way.
782 782