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
react is a framework
Search
threepointone
June 27, 2015
Programming
200
2
Share
react is a framework
flipkart react.js meetup 27th Jun '15.
threepointone
June 27, 2015
More Decks by threepointone
See All by threepointone
fml/myxtape - jsfoo 2014
threepointone
2
200
amplify your stack - deux - jsfoo 2014
threepointone
1
100
The last mile
threepointone
4
420
Other Decks in Programming
See All in Programming
Moments When Things Go Wrong
aurimas
3
140
Stage 3 Decorators でできること / できないこと / TSKaigi 2026
susisu
1
1.5k
AutonomyとControlのあいだ:Graflowで記述するAIエージェント協調
myui
0
100
エージェンティックRAGにAWSで入門しよう!
har1101
7
720
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
220
Lessons from Spec-Driven Development
simas
PRO
0
140
RTSPクライアントを自作してみた話
simotin13
0
440
JavaDoc 再入門
nagise
0
270
inferと仲良くなる10分間
ryokatsuse
1
370
Claspは野良GASの夢をみるか
takter00
0
160
関係性から理解する"同一性"の型用語たち
pvcresin
2
630
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
470
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
220
Google's AI Overviews - The New Search
badams
0
1k
Practical Orchestrator
shlominoach
191
11k
A designer walks into a library…
pauljervisheath
211
24k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Between Models and Reality
mayunak
4
320
The untapped power of vector embeddings
frankvandijk
2
1.7k
Why Our Code Smells
bkeepers
PRO
340
58k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Technical Leadership for Architectural Decision Making
baasie
3
400
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?