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

@angular/elementsをもうちょっと追いかけてみる

 @angular/elementsをもうちょっと追いかけてみる

Toshiya Tanaka

December 14, 2017
Tweet

More Decks by Toshiya Tanaka

Other Decks in Programming

Transcript

  1. about me • TanakaToshiya • @studioTeaTwo • ϋϯυϧωʔϜ͸ຊ໊ͷΠχγϟϧΑΓ T.T→T2→TeaTwo •

    angular͸ࠓ೥5݄͔Βɻڈ೥͸reactɺଞ ʹpureMVCɾbackboneɾcreateJSͳͲ • ڈ೥·Ͱ5೥΄Ͳιγϟή΍͍ͬͯͨɻ ࠓ͸ίϯγϡʔϚܥͷwebαʔϏεΛ ࡞͍ͬͯ·͢ɻ
  2. ͳͥڑ཭͕͋Δͷ͔ʁ • Packaging&Deploy͕ఏڙ͞Ε͍ͯͳ͍ • Angularࣗ਎΍3rd-partyϥΠϒϥϦΛશ෦όϯυϧ͠ͳ͍ͱ͍͚ͳ͍ • όϯυϧαΠζ਺ඦKBʙ਺MBͱ͔Ͷ • ͱݴ͏͔ɺAngularPJؒͰͷcomponent૬ޓӡ༻Ͱ΋໰୊ग़Δ •

    2ճϨϯμʔͪ͠Ό͏ɻdouble-compilation • Angularࣗ਎ͷrenderͷޙʹWebComponentsͱͯ͠΋͏Ұճrender ͢Δ • ಉ͡DependencyΛγΣΞͰ͖ͳ͍ • ճආࡦ͸͋ΔˠPlatformRefͰγΣΞ͢Δ • ͔͠͠ɺ౰વͳ͕Βόʔδϣϯҧ͏ͱΩϏγΠ