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
Gatsby, fast content based websites with React
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Cheesecake Labs
December 04, 2019
Programming
61
0
Share
Gatsby, fast content based websites with React
Cheesecake Labs
December 04, 2019
More Decks by Cheesecake Labs
See All by Cheesecake Labs
Cats' wellness & care
cheesecakelabs
0
70
How do we create the first impressions?
cheesecakelabs
0
78
Menstrual cup: suit and freedom
cheesecakelabs
0
97
Life is a cycle, better with a bicycle
cheesecakelabs
0
80
Interview Process: how to get the best of people
cheesecakelabs
1
130
My capsule wardrobe experience
cheesecakelabs
3
83
Stonewall Rebellion and its impact on LGBTQIA+ history
cheesecakelabs
1
64
Pregnancy, childbirth and breastfeeding: What do I have to do with it?
cheesecakelabs
0
66
MBTI - Psychological types described by Jung
cheesecakelabs
0
160
Other Decks in Programming
See All in Programming
Modding RubyKaigi for Myself
yui_knk
0
870
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
5
570
Spec Driven Development | AI Summit Lisbon
danielsogl
PRO
0
130
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
470
Composerを使ったサプライチェーン攻撃の様子を眺めてみる #phpstudy
o0h
PRO
2
220
柔軟なPDFレイアウトエディタを支える型システム設計 — Discriminated UnionとConditional Typeの実践
minako__ph
4
1.3k
Swiftのレキシカルスコープ管理
kntkymt
0
210
Oxlintのカスタムルールの現況
syumai
5
980
ふつうのFeature Flag実践入門
irof
7
3.5k
次世代リンターで探る、tsgo 時代における型認識カスタムルールの現実解
ytakahashii
3
1.4k
net-httpのHTTP/2対応について
naruse
0
430
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
Featured
See All Featured
Abbi's Birthday
coloredviolet
2
7.9k
Scaling GitHub
holman
464
140k
Automating Front-end Workflow
addyosmani
1370
210k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
570
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
720
The Cult of Friendly URLs
andyhume
79
6.9k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
55k
Building the Perfect Custom Keyboard
takai
2
780
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
230
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
320
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Transcript
Gatsby Gatsby is a free and open source framework based
on React that helps developers build blazing fast websites and apps
Gatsby is a "static" website generator
None
None
1. Modern web tech without the headache 2. Speed past
the competition 3. Progressive Web App by default 4. Bring your own data https://www.gatsbyjs.org/
Content is the king (Data sources)
None
https://www.gatsbyjs.org/docs/how-plugins-apis-are-run/
Node runner Data sources Create node (reducer) Call onCreateNode Provide
data to query Build
How to query the data
None
None
None
Data can be queried inside pages, components, or the gatsby-node.js
file, using one of these options: 1. The pageQuery component 2. The StaticQuery component 3. The useStaticQuery hook
None
Performance Optimization Performance is hard. Let’s make Gatsby do the
work.
https://www.gatsbyjs.org/blog/2017-09-13-why-is-gatsby-so-fast/#reach-skip-nav
Image performance Ohhh myyyyy
https://using-gatsby-image.gatsbyjs.org/ The problem: Large, unoptimized images dramatically slow down your
site.
None
Everything is a plugin 1480 plugins today
None
None
Nothing is perfect Pages (solves with a plugin), variables inside
query), cache and build time problems on deploy (netlify)
Why we should use at CKL?
Real world projects
Questions?
Thanks