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

リアクティブを知る1歩

Aipa
October 10, 2023

 リアクティブを知る1歩

「v-okinawa Meetup #6 LT大会」でLTした内容です。

https://v-okinawa.connpass.com/event/289444/

Aipa

October 10, 2023
Tweet

More Decks by Aipa

Other Decks in Technology

Transcript

  1. ࣗݾ঺հ w ΞΠύʔୂ௕ͱ͍͍·͢ !BJQBDPNNBOEFS  w ͏ͪͳʔΜͪΎͰ͢ w $#DMPVEגࣜձࣾͰಇ͍͍ͯ·͢ w

    ෺ྲྀۀքͰΠϊϕʔγϣϯىͨͯ͘͜͠೔ʑؤு͍ͬͯ·͢ w 7VF/VYUͰྼԽͨ͠7νϡʔόʔʹͳͬͨΓɺ7VF/VYU ͰίʔϧηϯλʔΈ͍ͨͳ෦ॺ޲͚ͷ8FCΞϓϦ࡞ͬͨΓͯ͠·͢
  2. ϲ݄͙Β͍7VF Y Λ࢖ͬͯΈͨࠓͷؾ࣋ͪ w υΩϡϝϯτ͸͍͍ײ͡ͳͷͰɺಡΊ͹࢖͏෼ʹ͸໰୊ͳ͍ w ΨοπϦཧղ͍ͯ͠Δ͔ʁͱ໰ΘΕΔͱͦ͏Ͱ͸ͳ͍ w ৭ʑϋϚͬͨࣄ৅ w

    #VJMEJO͞Ε͍ͯΔVTF)PHF΍VTF'VHBͰݺͼग़ͨ͠஋͕ϦΞΫςΟϒͩͬͨΓͦ͏ ͡Όͳ͔ͬͨΓ w XBUDI͕ಈ͔ͳ͍ɺͳͥʁˠΨνϟΨνϟ৭ʑఆٛΛม͑ͨΒಈ͍ͨΓɺಈ͔ͳ͔ͬͨ Γɺ5"3*5"3* w DPNQVUFE͕ʢҙਤͤͣʣউखʹಈ͘ɺͳͥʁˠԼ૚ͷͲ͔͜ʹϦΞΫςΟϒม਺͕͍ Δ
  3. ࣸܦͨ͠಺༰Λจষʹ͢Δͱ w λʔήοτϦΞΫςΟϒʹ͍ͨ͠ΦϒδΣΫτ w ϦΞΫςΟϒม਺λʔήοτΛॳظ஋ʹϦΞΫςΟϒΦϒδΣΫτΛ૊ΈཱͯΔɻHFUUFSͱ TFUUFSΛ࣋ͭ w HFUUFS࣮ߦ࣌ʹ͸USBDLʢޙड़ʣɺTFUUFS࣌ʹ͸USJHHFSʢޙड़ʣΛ࣮ߦ͢Δ w UBSHFU.BQ8FBL.BQʢΦϒδΣΫτΛ,FZʹ͢Δ͜ͱ͕Ͱ͖Δ.BQʣɻϦΞΫςΟϒΦϒ

    δΣΫτΛLFZʹ%FQBDUJWF& ff FDU<>ʢޙड़ʣΛอ࣋͢Δ w 3FBDUJWF& ff FDUؔ਺Λొ࿥ɾ࣮ߦ͢Δɻ࣮ߦ࣌ʹBDUJWF& ff FDUʹ3FBDUJWF& ff FDUࣗ਎ΛೖΕΔ w BDUJWF& ff FDUݱࡏ࣮ߦதͷͳʹ͔ʢॲཧʣ w %FQBDUJWF& ff FDUΛෳ਺อ࣋͢Δ.BQ
  4. ਤΛ͓आΓ͢Δͱ w λʔήοτϦΞΫςΟϒʹ͍ͨ͠ΦϒδΣΫτ w ϦΞΫςΟϒม਺λʔήοτΛॳظ஋ʹϦΞΫςΟϒΦϒδΣΫτΛ૊ΈཱͯΔɻHFUUFSͱ TFUUFSΛ࣋ͭ w HFUUFS࣮ߦ࣌ʹ͸USBDLʢޙड़ʣɺTFUUFS࣌ʹ͸USJHHFSʢޙड़ʣΛ࣮ߦ͢Δ w UBSHFU.BQ8FBL.BQʢΦϒδΣΫτΛ,FZʹ͢Δ͜ͱ͕Ͱ͖Δ.BQʣɻϦΞΫςΟϒΦϒ

    δΣΫτΛLFZʹ%FQBDUJWF& ff FDU<>ʢޙड़ʣΛอ࣋͢Δ w 3FBDUJWF& ff FDUؔ਺Λొ࿥ɾ࣮ߦ͢Δɻ࣮ߦ࣌ʹBDUJWF& ff FDUʹ3FBDUJWF& ff FDUࣗ਎ΛೖΕΔ w BDUJWF& ff FDUݱࡏ࣮ߦதͷͳʹ͔ʢॲཧʣ w %FQBDUJWF& ff FDUΛෳ਺อ࣋͢Δ.BQ https://github.com/Ubugeeei/chibivue/blob/main/books/japanese/007_minimum_reactive.md
  5. ࣸܦͨ͠಺༰Λจষʹ͢Δͱͦͷ̎ $PNQPOFOU࡞੒࣌ w DPNQPOFOUΛSFOEFS͢Δؔ਺ΛVQEBUF$PNQPOFOUͱ͢Δ w VQEBUF$PNQPOFOUΛ3FBDUJWF& ff FDU΁ొ࿥͓ͯ͘͠ w 3FBDUJWF&

    ff FDUSVO͢ΔˠVQEBUF$PNQPOFOU͕࣮ߦ͞ΕΔ w VQEBUF$PNQPOFOU͢ΔͱSFG͕ఆٛ͞ΕΔˠͦͷޙʹSFOEFSؔ਺Ͱ஋͕ಡ ΈऔΒΕΔˠHFUUFS͕ಈ͘ w BDUJWF& ff FDU͕VQEBUF$PNPQOFOUͷ··HFUUFS͕ಈ͘ˠUSBDL͕࣮ߦ͞Ε ͯɺUBSHFU.BQʹSFBDUJWFΦϒδΣΫτΛLFZʹVQEBUF$PNQPOFOU͕ొ࿥ ͞ΕΔ