Turbolinksアレルギー患者に捧げるTurbo & Stimulusでの時短実装術 / Kaigi on Rails 2023
by
lni_T
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
5VSCPMJOLTΞϨϧΪʔױऀʹ ๋͛Δ5VSCP4UJNVMVT Ͱͷ࣮࣌ज़ ,BJHJPO3BJMT !MOJ@5ϧχ
Slide 2
Slide 2 text
ૣͰ͕͢օ༷
Slide 3
Slide 3 text
ʲ5VSCPMJOLTʳ ͱ͍͏໊લΛ͝ଘͰ͔͢ʁ 🙋 👏
Slide 4
Slide 4 text
🤔
Slide 5
Slide 5 text
ʲ5VSCPMJOLTʳ ͪΌΜͱ͍ͬͯͨʁ 🙋 👏
Slide 6
Slide 6 text
🤯
Slide 7
Slide 7 text
5VSCPMJOLT աڈ3BJMTඪ४ͩͬͨϥΠϒϥϦ ը໘ભҠΛߴԽ͢Δʂͱ͍͏ͷ ϦϯΫΫϦοΫͳͲΛBKBYϦΫΤετʹஔͯ͠ Ϩεϙϯε͔ΒCPEZΛࠩ͠ସ͑Δ KTDTT࠶ಡΈࠐΈ͠ͳ͍ͷͰߴʂ ͱ͍͏ౕ͍͕ͩ͢͝ʜʜ
Slide 8
Slide 8 text
5VSCPMJOLT ͍͜ͳ͢ͷ͕͍͠ϥΠϒϥϦͩͬͨʜʜ +BWB4DSJQUͷΠϕϯτͷҰ෦͕ൃՐ͠ͳ͍ POMPBEͱ͔ K2VFSZͷϓϥάΠϯͱ૬ੑ͕ѱ͍ ˠτϥϒϧͷଟ͔͞Β5VSCPMJOLTΛ֎͢ਓ͕ଓग़ ʮࠓͦ͜5VSCPMJOLTΛ͍͜ͳͥ͢ʂʯͱ ҙؾ༲ʑͱSBJMTOFXͨ͠ΤϯδχΞ͕ ཌேʹແࢂͳ࢟Ͱൃݟ͞ΕΔ͜ͱ
Slide 9
Slide 9 text
5VSCPMJOLTͭΒ͍ʜ
Slide 10
Slide 10 text
͕ͩɺࠓҧ͏ʂ
Slide 11
Slide 11 text
No content
Slide 12
Slide 12 text
No content
Slide 13
Slide 13 text
໊લ͕ࣅͯΔʂා͍ʂ
Slide 14
Slide 14 text
ʘා͘ͳ͍Αʗ
Slide 15
Slide 15 text
ਃ͠Ε·͕ͨ͠
Slide 16
Slide 16 text
ࣗݾհ w5XJUUFS 9 *%!MOJ@5 w.FE1FFS ɹαʔόʔαΠυϦʔυΤϯδχΞ w3VCZ3BJMTྺʙݱࡏ w3BJMTʙ3BJMT·Ͱܦݧ
Slide 17
Slide 17 text
No content
Slide 18
Slide 18 text
No content
Slide 19
Slide 19 text
ࠓͷηογϣϯͷഎܠ
Slide 20
Slide 20 text
No content
Slide 21
Slide 21 text
No content
Slide 22
Slide 22 text
ଞ͔ࣾΒͷ ʮࣄۀɾγεςϜͷৡडʯ Λߦ͍·ͨ͠
Slide 23
Slide 23 text
૾্ͷʮৡΓड͚Δʯ ʮӡ༻อकΛҾ͖ܧ͙ͷ͔ͳʜʁʯ
Slide 24
Slide 24 text
࣮ࡍͷʮৡΓड͚Δʯ αʔόʔ3BJMTͰϑϧεΫϥονͩʂ %#Πν͔ΒߏΛݟ͠ʂ Ϣʔβʔೝূج൫Έͧ͢ʂ ࣄۀΛࣗͨͪͰਐΊ͍ͯͨ͘Ίʹ વඞཁͳରԠͩΑͶʔ
Slide 25
Slide 25 text
αʔϏεಈ͔ͨ͠·· ཪଆશ෦࡞Γ͢͜ͱʹ ͳͬͪΌͬͨ
Slide 26
Slide 26 text
Δ͜ͱ͕ଟ͍ͷʹ ࣌ؒΓͳ͍ʂ ࣌͠ͳ͖Όʜʂ
Slide 27
Slide 27 text
ͱ͍͏͜ͱͰ
Slide 28
Slide 28 text
ݱͰ࣮ફʂ )PUXJSFΛ༻͍ͯ ։ൃΛՃͨ͠ํ๏
Slide 29
Slide 29 text
)PUXJSF֓ཁ
Slide 30
Slide 30 text
ݱͷϞμϯͳ8FCΞϓϦ +40/Λૹड৴ͯ͠%0.Λߏங͢Δʂ αʔό ϑϩϯτΤϯυ ϑϨʔϜϫʔΫ +40/ ʘ%0.Λߏஙʗ
Slide 31
Slide 31 text
)PUXJSFͷΞϓϩʔν +40/Ͱͳ͘)5.-Λૹ৴͢Δ͜ͱͰɺ+BWB4DSJQUΛ͋·ΓΘͣʹ Ϟμϯͳ8FCΞϓϦέʔγϣϯΛߏங͢Δʂ αʔό )PUXJSF )5.- ʘ)5.-Λࠩ͠ସ͑ʗ
Slide 32
Slide 32 text
ͬ͘͟Γػೳհ 5VSCP+4Λॻ͔ͣʹ41"ϥΠΫͳΞϓϦΛ࡞ΕΔ 5VSCP%SJWF վળ൛5VSCPMJOLTը໘ભҠ࣌ʹCPEZ͚ͩࠩ͠ସ͑ 5VSCP'SBNF UVSCPGSBNFλάͰғͬͨ෦ͷΈࠩ͠ସ͑ 5VSCP4USFBN ෳՕॴͷ)5.-Λಉ࣌ʹࠩ͠ସ͑
Slide 33
Slide 33 text
ͬ͘͟Γػೳհ 4UJNVMVT ܰྔ+4ϑϨʔϜϫʔΫ 5VSCPͰରԠ͖͠Εͳ੍͍ޚΛαϙʔτ͢Δ +4ͱ)5.-ΛΓ͠ɺཧ͢ΔϨʔϧΛෑ͍ͯ͘ΕΔ 4USBEB ͍ͭઌϦϦʔε͞Ε͔ͨΓͳͷͰ͕͢ɺ ϞόΠϧΞϓϦ͚ͷػೳͷͨΊࠓׂѪ͠·͢🙇
Slide 34
Slide 34 text
Ϧονͳ6*͕࡞ΕΔʂ
Slide 35
Slide 35 text
ʮϦονʯͳͷʹʮ࣌ʯʁ ົͩͳʜ
Slide 36
Slide 36 text
࣮ફʂ)PUXJSF
Slide 37
Slide 37 text
˞ҙ˞ ҎԼͷͷ͕ಋೖ͞Ε͍ͯΔલఏͰ͕ਐΈ·͢ )PUXJSF ԿΒ͔ͷ$44ϑϨʔϜϫʔΫ ຊηογϣϯͰ#VMNBΛ࠾༻͍ͯ͠·͢ ྃ͝ঝԼ͍͞🙇
Slide 38
Slide 38 text
Α͋͘Δཁ݅ͱղܾࡦ
Slide 39
Slide 39 text
DSFBUFલͷ֬ೝը໘
Slide 40
Slide 40 text
֬ೝը໘ͱʁ SBJMTͰ࣮͍͢͠جຊͷྲྀΕ OFX $SFBUFE 1045
Slide 41
Slide 41 text
֬ೝը໘ͱʁ ҰํͰɺΑ͋͘Δػೳཁٻ OFX 1045 $SFBUFE ҎԼͷ༰Ͱ ࡞ͯ͠ ΑΖ͍͠Ͱ͔͢ʁ *%YYY!ZZZ 18 1045 ֬ೝը໘ʂ
Slide 42
Slide 42 text
֬ೝը໘͍ͬͯͨΜ ೖྗ్தͷใͲ͏อ࣋͢Δ͔ʁ SBJMTͷWJFXͷΈͰը໘શମ͕ஔ͖Θͬͯ͠·͏ʜ ֬ೝը໘Λදࣔ͢Δͱɺೖྗ͞Εͨใফ͑ͯ͠·͏ʂ ରॲํ๏ IJEEFO@ fi FMEͰอ࣋͠ଓ͚Δ ࡞్தͷϨίʔυอଘͰ͖ΔϞσϧΛ࣮͢Δ
Slide 43
Slide 43 text
֬ೝը໘͍ͬͯͨΜ ʮը໘Λͭ૿͚ͩ͢ʯͱݴ͏ͷͷʜ ૢ࡞ϑϩʔ͕ෳࡶԽ͢Δʂ ֬ೝը໘ͷʮΩϟϯηϧʯͲ͏͢Δʜʁ ֬ೝը໘ͷޙʹΤϥʔʹͳͬͨ߹Ͳ͏͢Δʜʁ
Slide 44
Slide 44 text
)PUXJSFͰͲ͏࣌͢Δ͔
Slide 45
Slide 45 text
࣮ࡍʹΈͯΈΑ͏
Slide 46
Slide 46 text
%FNP Ϣʔβʔ͕ೖྗͨ͠ใΛ ʮอଘલʹ֬ೝʯ͍ͤͨ͞ʜʂ
Slide 47
Slide 47 text
%FNP Ϣʔβʔ͕ೖྗͨ͠ใΛ ʮอଘલʹ֬ೝʯ͍ͤͨ͞ʜʂ ը໘ભҠΛͤͣʹ ϞʔμϧμΠΞϩάΛදࣔ͢Εతୡʂ
Slide 48
Slide 48 text
࣮ํ๏ ௨ৗͷೖྗϑΥʔϜʹՃ͑ͯ μΠΞϩάදࣔ༧ఆΛ༻ҙ͓ͯ͘͠ ˢ͜͜ʹۭͷEJWΛίοιϦઃஔ
Slide 49
Slide 49 text
࣮ํ๏ 1045DPO fi SNͨ͠ࡍͷϨεϙϯεʹͯ UVSCP@TUSFBNVQEBUF͢Δ͜ͱͰ%0.ࠩ͠ସ͑ μΠΞϩά෦ͷ)5.-ͷΈSFOEFS͢Δ DPO fi SNUVSCP@TUSFBNTMJN
Slide 50
Slide 50 text
࣮ํ๏ ೖྗϞʔμϧμΠΞϩάʹ IJEEFO@ fi FMEͰอ͓࣋ͯ͘͠
Slide 51
Slide 51 text
࣮ํ๏ ೖྗը໘ʹ͍ͨ͠߹ ϞʔμϧμΠΞϩάΛআ͢Δ͚ͩʂ ϑΥʔϜΛ࠶ඳը͍ͯ͠ͳ͍ͨΊ ೖྗ͕ͬͨ··ʹͳ͍ͬͯΔ
Slide 52
Slide 52 text
Ԡ༻ ΤϥʔදࣔʹԠ༻Մೳ ʮΤϥʔϝοηʔδʯ͚ͩSFOEFS͢ΕΑ͍
Slide 53
Slide 53 text
Կ͕خ͍͠ʁ )PUXJSFແ͠ͷ߹ Ϣʔβʔ͕ೖྗͨ͠ঢ়ଶΛ࠶ݱͯ͠ Θ͟Θ͟࠶ඳը͢Δ࣮͕ඞཁʹͳΓ͕ͪ ෳࡶͳೖྗϑΥʔϜͩͱ ʮશͯͷϑΥʔϜΛ෮ݩͯ͠SFOEFSʯ ͢Δ࣮͕ͲΜͲΜ;͘ΒΜͰ͍͘
Slide 54
Slide 54 text
)PUXJSFͳ֬ೝը໘ Ϧονͳ6*Λఏڙʂ ͞Βʹɺ7JFXͷ࣮ྔΛݮʂ ࣮࣌ʂ
Slide 55
Slide 55 text
ϑΥʔϜͷಈతΓସ͑
Slide 56
Slide 56 text
Α͋͘Δཁٻ ͭͷϑΥʔϜΛมߋ͢ΔͱɺผͷϑΥʔϜ͕࿈ಈͯ͠ΓସΘΔ ϑΥʔϜͷಈతΓସ͑ νΣοΫϘοΫε νΣοΫϘοΫε બࢶ" બࢶ# બࢶ$
Slide 57
Slide 57 text
ϑΥʔϜͷಈతΓସ͑ 3BJMTͷWJFXͩͱʜ )5.-Λෳ༻ҙ͓͍ͯͯ͠+BWB4DSJQUͰΓସ͑Δ ϑΥʔϜͷબࢶͳͲΛ"1*Ͱฦ͢Α͏ʹ͓͖ͯ͠ɺ +BWB4DSJQUͰϦΫΤετˠཁૉΛஔ͖͑Δ ͳͲͷରԠ͕ඞཁ ͍ͣΕʹͯ͠ɺ+BWB4DSJQUͰϑϩϯτΤϯυΛߏங͢Δඞཁ͋Γʜ
Slide 58
Slide 58 text
%FNP ϑΥʔϜΛಈతʹΓସ͍͑ͨʜʂ
Slide 59
Slide 59 text
࣮ํ๏ 4UJNVMVTΛ͏·͓͘͏ʂ
Slide 60
Slide 60 text
࣮ํ๏ EBUBDPOUSPMMFSଐੑΛࢦఆ͢Δͱ ࣗಈͰ4UJNVMVT$POUSPMMFS͕Ξλον͞ΕΔ EBUBBDUJPOଐੑΛࢦఆ͢Δͱ DIBOHFJOQVUͱ͍ͬͨΠϕϯτʹର͢Δ ԠΛఆٛ͢Δ͜ͱ͕Ͱ͖Δ
Slide 61
Slide 61 text
࣮ํ๏ 4UJNVMVT$POUSPMMFSʹ+4ͷॲཧΛఆٛͰ͖Δ 5VSCP4USFBNΛϦΫΤετ͢Δ͜ͱՄೳʂ
Slide 62
Slide 62 text
࣮ํ๏ UVSCP@TUSFBNVQEBUFͰը໘ͷҰ෦͚ͩࠩ͠ସ͑ ͖ͬ͞ͷϞʔμϧͷྫͱಉ͡ બࢶ͚ͩࠩ͠ସ͑
Slide 63
Slide 63 text
)PUXJSFͳಈతΓସ͑ Ϧονͳ6*Λఏڙʂ
Slide 64
Slide 64 text
)PUXJSFͳಈతΓସ͑ Ϧονͳ6*Λఏڙʂ ಛఆϖʔδʹ͔͠࡞༻͠ͳ͍+BWB4DSJQUʂ
Slide 65
Slide 65 text
)PUXJSFͳಈతΓସ͑ Ϧονͳ6*Λఏڙʂ ಛఆϖʔδʹ͔͠࡞༻͠ͳ͍+BWB4DSJQUʂ ࣮࣌ʂ
Slide 66
Slide 66 text
)PUXJSFͰਝʹ࣮͢Δͧʂ ͷίʔφʔͰͨ͠
Slide 67
Slide 67 text
ຊ൪ར༻͚5JQT
Slide 68
Slide 68 text
͍ͭͲΜͳͱ͖ʹ )PUXJSFΛ࠾༻͢Δͷ͔ʁ
Slide 69
Slide 69 text
)PUXJSFͷಛ )PUXJSFͷϝϦοτ +BWB4DSJQUΛॻ͘࿑ྗ࠷খݶʹɺ41"͕Ͱ͖ΔΑ͏ʹͳΔʂ αʔόʔαΠυʹϩδοΫΛूɺ࠶ར༻͕Ͱ͖Δʂ )PUXJSFͷσϝϦοτ 7VFKT3FBDU΄Ͳࡉ͔͍͜ͱͰ͖ͳ͍ 5VSCPʹΑΔը໘ߋ৽ຖճ௨৴͕ඞཁʹͳΔͧʂ 4UJNVMVTෳࡶͳ%0.ૢ࡞αϙʔτ͍ͯ͠ͳ͍
Slide 70
Slide 70 text
͜ΜͳέʔεͰ͍͍͢ʂ ը໘ଆ͕)PUXJSFͰे࣮ݱͰ͖ΔαʔϏε ͚ࣾͷཧը໘ʹ࠾༻͢Δͱ͍͏ख όοΫΤϯυΤϯδχΞ͕ଟ͍ϓϩδΣΫτ
Slide 71
Slide 71 text
ࣄྫ ಄ʹհͨ͠ʮϠΫνΤʯϞόΠϧΞϓϦ͕ϝΠϯίϯςϯπ
Slide 72
Slide 72 text
ࣄྫ ಄ʹհͨ͠ʮϠΫνΤʯϞόΠϧΞϓϦ͕ϝΠϯίϯςϯπ 8FCϖʔδ͕ඞཁͳػೳҰ෦ͷΈ ϢʔβʔೝূϖʔδͳͲ )PUXJSFͰे࣮ݱՄೳʂ ʮ%#Ҡߦʯʮೝূج൫ߏஙʯͳͲͷԑͷԼΛࢧ͑ΔλεΫ͕ଟ͍ αʔόଆόοΫΤϯυॏࢹͷମ੍ͱͳΔʂ
Slide 73
Slide 73 text
ϒϥβࠩ
Slide 74
Slide 74 text
ϒϥβࠩ )PUXJSFʮ'FUDI"1*ʯͳͲͷ৽͍͠"1*Λར༻͓ͯ͠Γ ϞμϯϒϥβͰ͔͠ಈ࡞͠ͳ͍ *OUFSOFU&YQMPSFS͕ఱणΛશ͏ͨ͠ࠓɺ Ϟμϯϒϥβ͔Ͳ͏͔Λؾʹ͢Δඞཁͳ͍ʜʜ
Slide 75
Slide 75 text
ϒϥβࠩ )PUXJSFʮ'FUDI"1*ʯͳͲͷ৽͍͠"1*Λར༻͓ͯ͠Γ ϞμϯϒϥβͰ͔͠ಈ࡞͠ͳ͍ *OUFSOFU&YQMPSFS͕ఱणΛશ͏ͨ͠ࠓɺ Ϟμϯϒϥβ͔Ͳ͏͔Λؾʹ͢Δඞཁͳ͍ʜʜ ͣͰ͕ͨ͠
Slide 76
Slide 76 text
ཁҙʂJ04 ݹ͍4BGBSJͰ4UJNVMVT$POUSPMMFS͕ϩʔυͰ͖ͳ͍ใࠂ͋Γ IUUQTHJUIVCDPNIPUXJSFETUJNVMVTSBJMTJTTVFT
Slide 77
Slide 77 text
ཁҙʂJ04 J04ͰཁૉΛࢀর͢ΔʮUBSHFUʯػೳ͕͑ͳ͍ʂτϥϒϧʹૺ۰ ެࣜͷه๏Ͱಈ͔ͳ͍ʜʜ
Slide 78
Slide 78 text
ཁҙʂJ04 ͜ͷه๏Λม͑Δ͜ͱͰରॲՄೳ ͠ಉ͡Λ౿ΜͩΒࢼͯ͠ΈͯͶ
Slide 79
Slide 79 text
ཁҙʂJ04 .PCJMF4BGBSJͱ͍͏Ϟμϯϒϥβ όʔδϣϯ͕J04ࣗମͷόʔδϣϯʹґଘ͢Δͱ͍͏ Ϟμϯͳઃܭʹͳ͍ͬͯΔ ݹ͍J04ͷϢʔβʔ4BGBSJͷڍಈݹ͍·· ݱࡏɺݹ͍J04΅ͪ΅ͪαϙʔτΛΓ͍͕ͨɺ Ϣʔβʔར༻ͳͲ͔ΒΕͳ͍έʔεʜ
Slide 80
Slide 80 text
ϒϥβࠩ ೦ͷͨΊɺαϙʔτ͍ͯ͠Δϒϥβ04Ͱ ࠷ݹ͍ڥͰૣΊʹಈ࡞֬ೝΛ͓ͯ͘͠ͷ͕٢ ༨ܭͳखΓΛݮΒͦ͏ʂ ϒϥβࠩͰࠔͬͯΔΈΜͳʂྑ͘͠·͠ΐ͏ʂ աڈ͘Β͍ͣͬͱࠔͬͯΔ
Slide 81
Slide 81 text
Ͳ͏ͯ͠ 5VSCPΛແޮԽ͍ͨ͠ʜ
Slide 82
Slide 82 text
5VSCPແޮԽͷӨڹ ϑΥʔϜͳͲʹEBUBUVSCPGBMTFΛࢦఆ͢ΔͱແޮԽ͕Մೳ ˞$VTUPN63-4DIFNFͷભҠ͕'FUDI"1*ͰͰ͖ͳ͔ͬͨͨΊ ɹಛఆϑΥʔϜͷΈ5VSCPແޮԽ͢Δ݁ʹࢸΔʜʜ
Slide 83
Slide 83 text
࿈ଓTVCNJU͕ࢭͰ͖ͳ͘ͳΔ ௨ৗϑΥʔϜૹ৴࣌ʹϘλϯ͕ ࣗಈͰແޮԽ͞ΕΔ UVSCPΛແޮԽ͢Δͱ ͦͷػೳ͝ͱͳ͘ͳͬͯ͠·͏ʜ ࿈ଓ1045͞Εͯ͠·͏ͳͲ ผͷτϥϒϧΛݺͼ͕ͪ TVCNJU࣌ʹࣗಈແޮԽ
Slide 84
Slide 84 text
ࢭાஔ෮׆ͷّࣜ 1045ͨ͠ΒTVCNJUΛແޮԽ͢Δॲཧ͚ͩ෮׆ͤ͞Α͏ JOQVUΛ୳͠EJTBCMF͢ΔॲཧΛ࡞͓͖ͬͯʜ
Slide 85
Slide 85 text
ࢭાஔ෮׆ͷّࣜ 1045ͨ͠ΒTVCNJUΛແޮԽ͢Δॲཧ͚ͩ෮׆ͤ͞Α͏ JOQVUΛ୳͠EJTBCMF͢ΔॲཧΛ࡞͓͖ͬͯʜ 4UJNVMVT$POUSPMMFSΛΞλονͯ͠TVCNJU࣌ʹൃՐͤ͞Α͏
Slide 86
Slide 86 text
ຊ൪ಋೖϊϋ ͷ͝հͰͨ͠
Slide 87
Slide 87 text
ͦΖͦΖ͓ผΕͷ࣌ؒ
Slide 88
Slide 88 text
͓ΘΓʹ 5VSCPMJOLTͷѱເ͏ΕΑ͏ʂ 5VSCPౕ͍͍ʂ )PUXJSFΛɺٕज़બఆͷબࢶʹೖΕͯΈͯʁ ސ٬୭ݟͳ͍ཧը໘ɺ3FBDU7VFͷಋೖຊʹඞཁͰ͔͢ʜʁ ͦΜͳը໘ͰܧଓతʹϝϯςφϯεͰ͖·͔͢ʁ
Slide 89
Slide 89 text
No content
Slide 90
Slide 90 text
ΞϑλʔΠϕϯτΓ·͢ʂ IUUQTDPOOQBTTDPNFWFOU