Upgrade to Pro — share decks privately, control downloads, hide ads and more …

computed のすゝめ

mi
January 30, 2019

computed のすゝめ

mi

January 30, 2019
Tweet

More Decks by mi

Other Decks in Programming

Transcript

  1. ᶃ API͔Βฦ͖ͬͯͨϨεϙϯεʢ঎඼ϦετʣΛը໘ʹදࣔ ᶄ Ϣʔβ͕ಛఆͷ঎඼Λબ୒ͨ͠ঢ়ଶΛอ࣋ 
 
 
 
 
 ᶅ

    ϖʔδભҠˍϒϥ΢βόοάͯ͠΋ ը໘ʹબ୒ঢ়ଶΛอ࣋͠ଓ͚Δঢ়ଶอ࣋ύλʔϯ -> v-for Ͱճ͚ͩ͢ɻ؆୯ʂ -> data ͷ selectedItems ͱ͔ʹ ঎඼IDΛ֨ೲ͍ͯ͘͠,,, 
 બ୒ͨ͠঎඼͕طʹબ୒ࡁΈϦετʹଘࡏ͍ͯͨ͠৔߹͸ ɺ
 selectedItems ͔Β֎ͤ͹ྑͦ͞͏ʂ -> Vuex ͰରԠͰ͖ͦ͏ɻ
 Ϧϩʔυͯ͠΋อ͍࣋ͨ͠ͳΒ IndexDB Λ࢖༻͢Δʂ
  2. ͓·͚ ΤϯδχΞྺ ໿6೥ ʢओ৯͸ Uber Eats ୴ಹࢯʣ • ΋͏͙͢ϑϦʔϥϯεʹͳΔ •

    ࢓ࣄͷग़དྷΔWebΤϯδχΞ • ͓࢓ࣄ͍͋͛ͯͩ͘͞ • εϚϒϥϑϨϯζืूத • Twitter: @mya_ake