swsnu / swpp2019-team5

WearHouse - Your very own fashion Warehouse
3 stars 4 forks source link

[Suggestion] All state elements of <Createoutfit /> should be passed through props #50

Closed haesookim closed 4 years ago

haesookim commented 4 years ago

Testing 짜다가...! 말을 하러 왔습니당 items/satisfaction 등등 현재 state로 관리모두 props로 넘기고 create 상태일 때는 해당 prop의 값을 주지 않거나 null로 처리하는 방식으로 진행하는 것이 더 적절하지 않은가 싶네요!

(이미 그렇게 하고 있지만 state init - componentDidMount에서 props를 다시 패싱해줄 필요를 못 느껴서요!)