-
Hello team, Thank you for amazing work, i hope i can contribute one day! I was just thinking, when we have a Stateless widget (let's call it |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Why does using const improve performance? Because the widget is not rebuilt on setState, i.e. the Page Widget itself is not rebuilt. Also, only the changed widgets inside the Page Widget are rebuilt by mobx, which improves performance. |
Beta Was this translation helpful? Give feedback.
Why does using const improve performance? Because the widget is not rebuilt on setState, i.e. the Page Widget itself is not rebuilt. Also, only the changed widgets inside the Page Widget are rebuilt by mobx, which improves performance.