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
280
LT about Cyclejs
chooblarin
May 19, 2017
Tweet
Share
More Decks by chooblarin
See All by chooblarin
第1回 作って動かすALife勉強会
chooblarin
0
690
Other Decks in Programming
See All in Programming
Making Angular Apps Smarter with Generative AI: Local and Offline-capable
christianliebel
PRO
0
110
エンジニアインターン「Treasure」とHonoの2年、そして未来へ / Our Journey with Hono Two Years at Treasure and Beyond
carta_engineering
0
490
ネストしたdata classの面倒な更新にさようなら!Lensを作って理解するArrowのOpticsの世界
shiita0903
1
280
CSC509 Lecture 08
javiergs
PRO
0
280
外接に惑わされない自システムの処理時間SLIをOpenTelemetryで実現した話
kotaro7750
0
220
Swift Concurrency 年表クイズ
omochi
3
220
AI Agent 時代的開發者生存指南
eddie
4
2.3k
ノーコードからの脱出 -地獄のデスロード- / Escape from Base44
keisuke69
0
620
PyCon mini 東海 2025「個人ではじめるマルチAIエージェント入門 〜LangChain × LangGraphでアイデアを形にするステップ〜」
komofr
3
770
モテるデスク環境
mozumasu
3
1.4k
問題の見方を変える「システム思考」超入門
panda_program
0
160
チームのテスト力を総合的に鍛えてシフトレフトを推進する/Shifting Left with Software Testing Improvements
goyoki
4
2.1k
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
960
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Become a Pro
speakerdeck
PRO
29
5.6k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Docker and Python
trallard
46
3.6k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
It's Worth the Effort
3n
187
28k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
How to Think Like a Performance Engineer
csswizardry
28
2.3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.7k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.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
ありがとうございました