eGroupTeam / course-frontend

0 stars 2 forks source link

context與redux #25

Open ryanbohongcho opened 1 year ago

ryanbohongcho commented 1 year ago

請問context與redux最主要的差異是什麼呢?

jitsungwu commented 1 year ago

context容易用,redux的邏輯切割更細,適合比較複雜的情境

ryanbohongcho commented 1 year ago

context對於初學者來說較容易理解,程式碼較簡潔,而redux則將程式碼分得較詳細,需要花比較多的時間去理解。