build method 와 render tree를 모르고 hot reload를 논하지마라
·
Flutter/Flutter
핫리로드가 될 때 화면이 아예 다시 그려지는건가? 라는 의견이 나왔다 아닌 것 같은데 왜 아니지 !!!!!!!!!!!!!설명을 똑바로 못했다 왜 설명을 못했을까. 내 문제점은 다음과 같았다 1.빌드메서드가 정확히 뭘 하는지 몰랐다.2.핫리로드랑 빌드메서드의 연관관계를 몰랐다. 그렇다면 알아보자 ㄱㄱ The framework replaces the subtree below this widget with the widget returned by this method, either by updating the existing subtree or by removing the subtree and inflating a new subtree, depending on whether the widget returned..