Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
vue.js ≒ react
Search
Kaneko Takeshi
December 13, 2019
Technology
32
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
vue.js ≒ react
Kaneko Takeshi
December 13, 2019
More Decks by Kaneko Takeshi
See All by Kaneko Takeshi
オープンソースライセンスについて勉強する定期
tkckaneko
0
49
Eye Tracking on the Browser
tkckaneko
0
100
IEEE754を完全に理解した
tkckaneko
1
89
CSSのトレンドをみんなで見よう -2021年-
tkckaneko
0
100
多分これが一番早いと思います
tkckaneko
0
31
暗黒面の話
tkckaneko
0
31
CSR / SSR / SSG / JAMstack
tkckaneko
0
79
BOLT
tkckaneko
0
43
CSS Logical Properties and Values
tkckaneko
0
65
Other Decks in Technology
See All in Technology
QA4AI 2026-Oct 生成AI時代の品質保証
tokuty
0
570
初対面のメンバーがチームを組み、Claude Codeでゼロからサービスをリリース
mkdev10
1
120
FactoryBotアンチパターン / factory_bot anti-patterns
toshimaru
0
150
[AWS 秋のクラウドオペレーション祭り 2026]AWS DevOps Agentで変わるリリースと運用対応 ~リリース管理機能と Directed actions のご紹介~
furuton
4
1.2k
ソフトウェア ファクトリー - 再現性のあるソフトウェアの工場づくり / Software factory
iktakahiro
0
320
AI 時代の Azure エンジニアリング ~ 私たちは何を磨き、何を任せるのか ~
chack411
1
600
Getting Started with Google Antigravity
glaforge
0
220
分析AIエージェントを育てる、動く環境を育てる
codatum
1
1k
自主式軟體工廠
philipz
0
260
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
870
Snapshot Testing in Practice: Predictable and Reliable SwiftUI Views
fespinoza
0
210
ハードウェアコンペでもAI駆動開発が進んでいる話
iotengineer22
1
690
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
Navigating Weather and Climate Data
rabernat
0
550
RailsConf 2023
tenderlove
30
1.6k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Scaling GitHub
holman
464
140k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
850
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
The SEO Collaboration Effect
kristinabergwall1
1
590
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
Side Projects
sachag
456
43k
Accessibility Awareness
sabderemane
1
250
Transcript
vue.js ≒ react
vue.jsはreact
component vue.js <p v-if="isActive">Paragraph</p> react {isActive && <p>Paragraph</p>}
component vue.js <li v-for="item in items" :key="item.key"> {{ item.title }}
</li> react {items.map(item => ( <li key={item.key}>{item.title}</li> ))}
component vue.js <p v-show="isShow">paragraph</p> react <p style={{display: isShow ? 'initial'
: 'none'}}> paragraph </p>
component vue.js <p :class="{'active': isActive}">Paragraph</p> react ・・・
component vue.js <p v-html="Paragraph"></p> react <p dangerouslySetInnerHTML={{__html: 'Paragraph'}} />
component vue.js <button @click.prevent="handleClick"> Send </button> react <button onClick={handleClick}>Send</button>
ステート管理 vue.js data() { return {count: 0} } react const
[count, setCount] = useState(0);
DOM参照 vue.js <div ref="target">...</div> react const target = useRef(); return
( <div ref={target}>...</div> );
算出プロパティ vue.js computed: { fullName() { return `${this.firstName} ${this.lastName}`; }
}
算出プロパティ react const [firstName, setFirstName] = useState("John"); const [lastName, setlastName]
= useState("Doe"); const getFullName = () => `${firstName} ${lastName}`; const fullName = useMemo(getFullName, [firstName, lastName]);
監視プロパティ vue.js watch: { name(newVal, oldVal) {} } react ・・・
vue.jsはreact