Home
Explore
Submit Search
Upload
Login
Signup
Advertisement
Check these out next
Front Ends for Back End Developers - Spring I/O 2017
Matt Raible
Using JHipster for generating Angular/Spring Boot apps
Yakov Fain
Why you should add React to your Rails application now!
David Roberts
React, GraphQL и Relay - вполне себе нормальный компонентный подход (nodkz)
Pavel Chertorogov
sbt 0.10 for beginners?
k4200
Grails Spring Boot
TO THE NEW | Technology
Spring IO '15 - Developing microservices, Spring Boot or Grails?
Fátima Casaú Pérez
Full Stack Reactive with React and Spring WebFlux - SpringOne 2018
Matt Raible
1
of
16
Top clipped slide
ServiceWorkerとES6 Modules時代のTypescript開発考察
Jun. 15, 2017
•
0 likes
1 likes
×
Be the first to like this
Show More
•
2,903 views
views
×
Total views
0
On Slideshare
0
From embeds
0
Number of embeds
0
Download Now
Download to read offline
Report
Engineering
ServiceWorkerとES6 Modulesを利用してTypescript開発をどう変えていけるか考えてみた
Taketoshi 青野健利
Follow
Web Developer at CyberAgent
Advertisement
Advertisement
Advertisement
Recommended
Spring Northwest Usergroup Grails Presentation
ajevans
842 views
•
29 slides
Get Hip with Java Hipster - JavaOne 2017
Matt Raible
339 views
•
43 slides
Sergey Puzankov "How to see a bug the size of 1px"
Fwdays
181 views
•
74 slides
JHipster, modern web application development made easy
Raphaël Brugier
1.3K views
•
20 slides
Angular is one fire(base)! - Shmuela Jacobs
Codemotion Tel Aviv
463 views
•
19 slides
The State of the Developer Ecosystem - .NET Conf Barcelona 2018
Carlos Mendible
36 views
•
23 slides
More Related Content
Slideshows for you
(20)
Front Ends for Back End Developers - Spring I/O 2017
Matt Raible
•
1.4K views
Using JHipster for generating Angular/Spring Boot apps
Yakov Fain
•
1.5K views
Why you should add React to your Rails application now!
David Roberts
•
357 views
React, GraphQL и Relay - вполне себе нормальный компонентный подход (nodkz)
Pavel Chertorogov
•
2.2K views
sbt 0.10 for beginners?
k4200
•
1.2K views
Grails Spring Boot
TO THE NEW | Technology
•
901 views
Spring IO '15 - Developing microservices, Spring Boot or Grails?
Fátima Casaú Pérez
•
9.2K views
Full Stack Reactive with React and Spring WebFlux - SpringOne 2018
Matt Raible
•
1.4K views
No more waiting for API - Android Stub Server
Sylwester Madej
•
1K views
Lifthub (rpscala #31)
k4200
•
770 views
Afupday lille-2020
Nicolas De Boose
•
382 views
How we built a job board in one week with JHipster
Kile Niklawski
•
10.5K views
Java and services code lab spring boot and spring data using mongo db
Staples
•
221 views
Eclipse Buildship JUG Hamburg
simonscholz
•
2.5K views
Continuous deployment of Rails apps on AWS OpsWorks
Tomaž Zaman
•
3.1K views
Wuff: Building Eclipse Applications and Plugins with Gradle
Andrey Hihlovsky
•
3.3K views
Angular vs React Smackdown - Devoxx BE 2017
Matt Raible
•
674 views
Front End Development for Back End Developers - vJUG24 2017
Matt Raible
•
728 views
Tales of an open source library
Adam Klein
•
33 views
"The Story of Declarative React at Grammarly: From two-way data binding with ...
Fwdays
•
270 views
Similar to ServiceWorkerとES6 Modules時代のTypescript開発考察
(20)
Building a REST API Microservice for the DevNet API Scavenger Hunt
Ashley Roach
•
420 views
2014 SharePoint Saturday Melbourne Apps or not to Apps
Gilles Pommier
•
755 views
2015-12-02 - WebCamp - Microsoft Azure Logic Apps
Sandro Pereira
•
2K views
Azure Functions Real World Examples
Yochay Kiriaty
•
9.3K views
Come riprogettare le attuali farm solution di share point con il nuovo modell...
Fabio Franzini
•
436 views
Front End Development for Backend Developers - GIDS 2019
Matt Raible
•
335 views
DevOps on AWS - Building Systems to Deliver Faster
Amazon Web Services
•
2.1K views
O365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
NCCOMMS
•
76 views
SharePoint Fest Seattle - SharePoint Framework, Angular & Azure Functions
Sébastien Levert
•
43 views
Develop a Quick and Dirty Web interface to your database: for the DBA and oth...
Gabriel Villa
•
1.8K views
How to Contribute to Apache Usergrid
David M. Johnson
•
9.8K views
Serverless API with Azure Functions
Analben Mehta
•
281 views
[Struyf] Automate Your Tasks With Azure Functions
European Collaboration Summit
•
348 views
Serverless integrations using Azure Logic Apps (intro)
Callon Campbell
•
311 views
Front End Development for Back End Developers - Devoxx UK 2017
Matt Raible
•
547 views
Developing Brilliant and Powerful APIs in Ruby & Python
SmartBear
•
1.7K views
Fed London - January 2015
Phil Leggetter
•
856 views
SPS calgary 2017 introduction to azure functions microsoft flow
Vincent Biret
•
537 views
Front End Development for Back End Developers - UberConf 2017
Matt Raible
•
1.4K views
Serverless with Azure Functions
Andreas Willich
•
686 views
Advertisement
More from Taketoshi 青野健利
(10)
javascriptのデータ構造の話
Taketoshi 青野健利
•
3.6K views
V8 javascript engine for フロントエンドデベロッパー
Taketoshi 青野健利
•
5.9K views
非同期javascriptの過去と未来
Taketoshi 青野健利
•
1.9K views
仮想DOMの実装とパフォーマンス
Taketoshi 青野健利
•
2.6K views
JavascriptのGC入門
Taketoshi 青野健利
•
977 views
V8 Iginition Interpreter
Taketoshi 青野健利
•
1K views
GraphQL with React
Taketoshi 青野健利
•
1.8K views
Jspmとtypescriptで開発する
Taketoshi 青野健利
•
1.7K views
React and-rx
Taketoshi 青野健利
•
1.9K views
WebWorker and Atomics
Taketoshi 青野健利
•
1.8K views
Recently uploaded
(20)
ML for Data science Chapter.pptx
nirmala57
•
0 views
Antenna and Wave Propagation.pdf
JohnColaco1
•
0 views
5P3-30B by Rohit Damodaran
Rohit Damodaran
•
0 views
Naval Air Launched Guided Missiles Handbook.pdf
Tahir Sadikovic
•
0 views
Unit01_Session_04.pdf
Sanjay Gunjal
•
0 views
[HIFLUX] High Pressure Relief Valve Catalog
하이플럭스 / HIFLUX Co., Ltd.
•
0 views
ODE.pptx
Rohith757158
•
0 views
Introduction to network and internet.ppt
AngelCharles7
•
0 views
PSEUDO RANDOM KEY GENERATOR USING FRACTAL BASED TRELLIS CODED GENETIC ALGORIT...
IJNSA Journal
•
0 views
[HIFLUX] Pressure Gauge Catalog
하이플럭스 / HIFLUX Co., Ltd.
•
0 views
[HIFLUX] AOV - Air Operated Valve Catalog
하이플럭스 / HIFLUX Co., Ltd.
•
0 views
Anti_Capillary by Rohit Damodaran
Rohit Damodaran
•
0 views
[HIFLUX] High Pressure Needle Valve Catalog
하이플럭스 / HIFLUX Co., Ltd.
•
0 views
custard apple-01-01 (2).pdf
splants
•
0 views
口試簡報.pptx
dhedyhusada2
•
0 views
DATA ABSTRACTION.pptx
ManavSharma694627
•
0 views
AMBA.ppt
Anbuselvi Mathivanan
•
0 views
[HIFLUX] High Pressure Fitting & Accessory Catalog
하이플럭스 / HIFLUX Co., Ltd.
•
0 views
[HIFLUX] High Pressure Union & Adapter Catalog
하이플럭스 / HIFLUX Co., Ltd.
•
0 views
Battle of the Stream Processing Titans – Flink versus RisingWave
Yingjun Wu
•
0 views
Advertisement
ServiceWorkerとES6 Modules時代のTypescript開発考察
Typescript Development with ServiceWorker and
ES6 Modules
: @brn (
a.k.a ) : iOS : Cyberagent RightSegment AI Messenger : http://abcdef.gets.b6n.ch/ Twitter: https://twitter.com/brn227 GitHub: https://github.com/brn
What is ServiceWorker? ServiceWorker Web http javascript https://developers.google.com/web/fundamentals/getting-started/ primers/service-workers?hl=ja
Intercept http request ServiceWorker http ES6
Modules Typescript
ES6 Modules babel Safari Chrome
Canaray ES6 Modules Typescript
Typescript Compiler CompilerHost ts.transpileModule 1
https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#a-simple-transform-function
Strategy • ServiceWorker install
skipWating • ServiceWorker activate claim • navigator.serviceWorker.register Promise active • active typescript script type="module" • ServiceWorker fetch
tsconfig.json tsconfig.json • postMessage
tsconfig • tsconfig ServiceWorker postMessage • typescript
Strategy ServiceWorker install waiting
active fetch install active
Strategy self.skipWaiting() activate claim() controllerchange active
postMesseage tsconfig.json install active skipWaiting controllerchange Main postMessage
Strategy register() controllerchange postMessage(load tsconfig) postMessage(load succeeded) load typescript via script tag ... ServiceWorker Main install active skipWaiting() claim() wait fetch
event load typescript via ES6 import transpileModule transpileModule Transpiled code
Demo https://brn.github.io/swts/
Problem ES6 Modules Module
npm Module Module
GitHub npm module https://github.com/brn/swts.git
Summary ServiceWorker babel typescript
ES6 Modules commonjs commonjs => ES6 modules amd Systemjs ES6 Modules tranpile
Summary
Advertisement