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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
97
The last mile
threepointone
4
410
Other Decks in Programming
See All in Programming
PHPで TLSのプロトコルを実装してみるをもう一度しゃべりたい
higaki_program
0
190
「速くなった気がする」をデータで疑う
senleaf24
0
160
ネイティブアプリとWebフロントエンドのAPI通信ラッパーにおける共通化の勘所
suguruooki
0
260
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
180
GNU Makeの使い方 / How to use GNU Make
kaityo256
PRO
16
5.6k
アーキテクチャモダナイゼーションとは何か
nwiizo
17
4.9k
Go_College_最終発表資料__外部公開用_.pdf
xe_pc23
0
180
How Swift's Type System Guides AI Agents
koher
0
220
Make GenAI Production-Ready with Kubernetes Patterns
bibryam
0
110
TiDBのアーキテクチャから学ぶ分散システム入門 〜MySQL互換のNewSQLは何を解決するのか〜 / tidb-architecture-study
dznbk
1
160
10年分の技術的負債、完済へ ― Claude Code主導のAI駆動開発でスポーツブルを丸ごとリプレイスした話
takuya_houshima
0
2.4k
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
1
840
Featured
See All Featured
The agentic SEO stack - context over prompts
schlessera
0
740
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
27
3.4k
Claude Code のすすめ
schroneko
67
220k
WENDY [Excerpt]
tessaabrams
9
37k
HDC tutorial
michielstock
1
610
How to build a perfect <img>
jonoalderson
1
5.4k
A designer walks into a library…
pauljervisheath
211
24k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
140
Skip the Path - Find Your Career Trail
mkilby
1
100
My Coaching Mixtape
mlcsv
0
97
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
240
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?