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
720
Other Decks in Programming
See All in Programming
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
130
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
510
Oxlintはいいぞ
yug1224
5
1.3k
組織で育むオブザーバビリティ
ryota_hnk
0
170
dchart: charts from deck markup
ajstarks
3
990
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
420
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
150
CSC307 Lecture 03
javiergs
PRO
1
490
Package Management Learnings from Homebrew
mikemcquaid
0
210
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
190
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
170
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
1k
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Between Models and Reality
mayunak
1
180
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
220
Writing Fast Ruby
sferik
630
62k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
200
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
ラッコキーワード サービス紹介資料
rakko
1
2.2M
Being A Developer After 40
akosma
91
590k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
84
First, design no harm
axbom
PRO
2
1.1k
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
ありがとうございました