Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
LT about Cyclejs
Search
chooblarin
May 19, 2017
Programming
0
190
LT about Cyclejs
chooblarin
May 19, 2017
Tweet
Share
More Decks by chooblarin
See All by chooblarin
第1回 作って動かすALife勉強会
chooblarin
0
540
Other Decks in Programming
See All in Programming
App Router への移行は「改善」となり得るのか?/ Can migration to App Router be an improvement
takefumiyoshii
8
2.1k
Site Reliability Engineering for GMO
pyama86
6
930
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
120
チーム力を高めるスクラム実践法:カンバン公開と課題攻略について - ニフティのスクラムトーク Vol. 2 - NIFTY Tech Talk #18
niftycorp
PRO
1
110
What We Can Learn From OSS
inouehi
0
400
二郎系ラーメンのコールで学ぶ AST 解析
memory1994
PRO
7
1.6k
ログラスを支える設計標準について / loglass-design-standards
urmot
10
2.1k
コーンフレークから始める モデリング会話入門
ogurotakayuki
0
280
puregoの活用例
aethiopicuschan
0
220
元気予報
suu_mire0726
0
860
Ruby Pattern Matching
bkuhlmann
0
920
Milestoner
bkuhlmann
1
400
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
6
990
Fireside Chat
paigeccino
20
2.6k
Building Your Own Lightsaber
phodgson
98
5.7k
The Language of Interfaces
destraynor
151
23k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
220
21k
Code Reviewing Like a Champion
maltzj
513
39k
In The Pink: A Labor of Love
frogandcode
138
21k
Building an army of robots
kneath
300
41k
Building Better People: How to give real-time feedback that sticks.
wjessup
354
18k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
119
38k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.9k
Making the Leap to Tech Lead
cromwellryan
123
8.5k
Transcript
Cycle.jsのLT NDSiN#12×Niigata.js×C4N May 20, 2017 @chooblarin
自己紹介 • @chooblarin • 畠山 創太(はたけやま そうた) • Android/iOSのアプリ開発 •
今年の1月に新潟ʹ6λʔϯ͠·ͨ͠
CycleConfが先月に開催
今日はCycle.js についてLTします
Disclaimer • 私はフロントエンドのエンジニアではありません • 雰囲気でJavaScriptを書いています • JavaScript最高⤴⤴
Cycle.js
Cycle.js is a JS framework created by @staltz
I am a Fun of him “The introduction to Reactive
Programming you’ve been missing”
I am a Fun of him RxMarbles
昨今のプログラミング • 状態(ステート)の管理は難しい • 非同期のプログラミングは難しい • 色々頑張っても結局これらは難しい
“André Staltz - Some problems with React/Redux”
“the frontend co!"unity is to continue searching for better solutions.”
“first with jQuery et al, then Backbone, then Angular, and now React. Let’s not stop there.”
Cycle.jsの コンセプト
アプリ is 関数: (外界) => (外界)
main関数を分割する指針
MVIアーキテクチャ
MVI • Intent: (UserEvents) => (Action) • Model: (Action) =>
(State) • View: (State) => (Rendering) ※これら全てはただの関数にすぎない
main関数はComponent
そのmain関数は別のmain関数のComponent
Cycle.jsのフラクタル! https://500px.com/photo/4856941/fractal-by-didier-kobi
最後にデモ
Marvel Character Search https://github.com/chooblarin/cyclejs-marvel
ありがとうございました