Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
react is a framework
Search
threepointone
June 27, 2015
Programming
2
190
react is a framework
flipkart react.js meetup 27th Jun '15.
threepointone
June 27, 2015
Tweet
Share
More Decks by threepointone
See All by threepointone
fml/myxtape - jsfoo 2014
threepointone
2
190
amplify your stack - deux - jsfoo 2014
threepointone
1
93
The last mile
threepointone
4
410
Other Decks in Programming
See All in Programming
Microservices Platforms: When Team Topologies Meets Microservices Patterns
cer
PRO
1
1k
Building AI Agents with TypeScript #TSKaigiHokuriku
izumin5210
6
1.3k
ソフトウェア設計の課題・原則・実践技法
masuda220
PRO
26
22k
20 years of Symfony, what's next?
fabpot
2
350
Full-Cycle Reactivity in Angular: SignalStore mit Signal Forms und Resources
manfredsteyer
PRO
0
120
안드로이드 9년차 개발자, 프론트엔드 주니어로 커리어 리셋하기
maryang
1
110
ViewファーストなRailsアプリ開発のたのしさ
sugiwe
0
440
STYLE
koic
0
160
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
2
660
JETLS.jl ─ A New Language Server for Julia
abap34
1
340
dnx で実行できるコマンド、作ってみました
tomohisa
0
140
AIコーディングエージェント(Gemini)
kondai24
0
200
Featured
See All Featured
KATA
mclloyd
PRO
32
15k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
The Cult of Friendly URLs
andyhume
79
6.7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
Why Our Code Smells
bkeepers
PRO
340
57k
Making Projects Easy
brettharned
120
6.5k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
A designer walks into a library…
pauljervisheath
210
24k
Statistics for Hackers
jakevdp
799
230k
Agile that works and the tools we love
rasmusluckow
331
21k
Navigating Team Friction
lara
191
16k
Building Flexible Design Systems
yeseniaperezcruz
330
39k
Transcript
React is a framework π
https://myntra.github.io/2015/05/17/personal-thoughts-on-the-shutdown-of-the-myntra-website/
5 ideas
0. the internet
transmit entire experiences over the wire, on demand
universal standard > cross platform
choose your weapons
1. let’s learn web development!
<!doctype html> <html> <head> <style> @import “reset.css"; body{ font-family: helvetica,
arial, san-serif; } #xyz{ font-size: 12px:} </style> </head> <body> <div id='xyz' onclick='alert("hello world!")' style='background-color:#ccc;'> My name is Sunil! </div> <script> document.getElementById('xyz').style.fontSize = '20px'; </script> </body> </html>
what’s wrong here?
- the declarative model is discarded immediately - templating languages
destroy t/p/c structure - no first class compose strategy
flashback: e4x var header = <div> <h1><a href="/">Vjeux</a></h1> <h2>French Web
Developer</h2> </div>; http://blog.vjeux.com/2013/javascript/jsx-e4x-the-good-parts.html
2. what do video games and servers have in common?
video games servers scene database frame request tv browser
- ‘recreate the world’ - idempotent rendering
None
3. state is not a place
the old way var store = new Store({attr: 123}); store.get('attr')
store.on('change', ::console.log) store.set('attr', 456); // ???
the new way newState = f(state, […actions]) // just like
databases! and if this were true…
- snapshot / rewind - record / replay - hot
load / replay - debug savepoints
4. framework hate
drum roll…
react is all of these things! - first class components
/ trees - write naturally, and the framework optimizes - generic imperative -> declarative bridge - and about record / replay…
disto demo
and about idea 0…
cortex demo
questions?