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
僕が求めていたのはNext.jsだったんだ
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Matsuo Obu
April 24, 2019
Technology
720
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
僕が求めていたのはNext.jsだったんだ
Next.jsは素晴らしいという話。React LT会 @Informetis (2019-04-24) で発表。
Matsuo Obu
April 24, 2019
More Decks by Matsuo Obu
See All by Matsuo Obu
Reactの歴史
mqtsuo02
0
1.1k
文学作品「檸檬」をReactで読む
mqtsuo02
1
520
EmotionでReactをstylingすればモテるかもしれない
mqtsuo02
0
650
Repro Tech Hands-on : Nuxt.js
mqtsuo02
1
950
ピピピのPWA
mqtsuo02
0
780
GraphQLについての5分間
mqtsuo02
0
840
Create React App 読解特急
mqtsuo02
0
130
JekyllとBootstrapを使って静的なブログを作ってみたよ
mqtsuo02
0
110
Other Decks in Technology
See All in Technology
Deployment の 先にある AI Agent 基盤 - kagent vNext、Agent Substrate、Hermes から読み解く Agent Runtime の現在地 / k8s-matsuri-2-ai-agent-platform-amsy810
masayaaoyama
4
710
Claude in Chrome 入門 / Introduction to Claude in Chrome
cielo1985
0
890
Oracle Cloud Infrastructure(OCI):Onboarding Session(はじめてのOCI/Oracle Supportご利⽤ガイド)
oracle4engineer
PRO
2
20k
アプリログインとWeb認証基盤をつなぐ ASWebAuthenticationSession 作法
shimastripe
1
390
AIに賢く動いてもらうためのコンテキスト〜Snowflake女子会 vol.8
snowwmn0824
0
160
アクセスキーこわい やめかたと漏らさない工夫
sassssan68
1
640
AIに任せた品質は、誰が見立てるのか - AI時代のテストマネジメント
nakanao
3
2.9k
2026_devsumi_ozono.pdf
o3
3
570
SREの視点で考えるSIEM活用術 〜AWS環境でのセキュリティ強化〜
cscengineer
PRO
0
260
AI de Idea
kawaguti
PRO
2
130
Slack上でインフラをトラブルシュートする! Agentic Platform Engineeringの第一歩
teru0x1
5
1.9k
AIエージェントの権限管理 3: Agentic RAG の Fine grained access control 編
ren8k
0
200
Featured
See All Featured
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
550
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
530
The Invisible Side of Design
smashingmag
301
52k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
410
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
30 Presentation Tips
portentint
PRO
1
400
The Curse of the Amulet
leimatthew05
3
15k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3k
Prompt Engineering for Job Search
mfonobong
0
460
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
580
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Transcript
@mqtsuo02 2019-04-24 React LT会 僕が求めていたのは Next.js だったんだ
自己紹介 + React歴 - フリーランスのWebエンジニア - 直近2年間はずっとReact関連 - ReactのSPA3本、ReactNative1本 -
色んな構成でやった - redux, redux-saga, ContextAPI - Flow, TypeScript - styled-components, CSS Modules, inline style - create-react-app, storybook, jest, enzyme - Vue.js (Nuxt.js)とかGolangもやってます
ユーザ投稿型のメディアを作りたくなった。 (仕組みとしてはnote.muみたいなもの) 最近のはなし
Firebase HostingにReactのSPAおけばいいかな... と思いつつも 将来のことが色々不安になってきた。 最近のはなし
SEO的なものは大丈夫なんだろうか? GoogleはSPAでもクロールするって言ってるけど OGPとかは大丈夫なんだろうか? react-helmetで実装してるけど、読んでくれるのかな? 将来の不安 その1
First Viewのパフォーマンス大丈夫かな? メディアだから待たせたくない! PHPとかRubyのSSRに負けてしまうんじゃないだろうか 負けたくねぇよぉ... 将来の不安 その2
Laravel 勉強したほうがいいんじゃね? GAE/Golangでサーバ立ててテンプレートでなんとかする? 最近JAMStack流行ってきてるのかな? SPAに限界感じる。もう何もかも嫌だ。 結果、開発放置気味に... 不安が生んだ迷いと現実逃避
3ヶ月後
Next.jsの母 (ZEIT) 来日
最新のNext.jsはAMPにも対応できる Serverless pre renderingでめちゃ速い 差分だけビルドできる 湧き上がる会場 Next.jsそんなにええんか!? ZEITのLT
First ViewはSSRで、その後はSPAで ユニバーサルなJavaScript モジュールを分割して段階的に読み込める とにかく速さを売りにしていることがワカッタ! Next.js 再入門してみた
Express + Next.js + React これがユニバーサルJavaScriptか!! めっちゃいいやん!! Next.js の SSR+SPAチュートリアルやってみた
server.js require(“express”); require(“next”); ... pages/index.js Index.getInitialProps = async () => { … return {key: value}; }; package.json “build”: “next build”, “start”: “node server.js”, ... next build して server.js実行する感じ nextを初期化して express書いていく感じ いつもの要領でJSX書く getInitialPropsでデータ取得
SPAとSSR組み合わせるの辛いって誰か言ってた ReactでSSRするのって本質的じゃなくない? 投資対効果低そう.... Before
Next.js 最高!!! ZEIT 神!! 一生ついていきます!! After
Front End (GAE) node10 Express + Next.jsで SSR + SPA
ぼくが考えた さいつよ の構成 ユーザ認証 (Firebase Auth) Back End (Cloud Functions or GAE) Golang or node DB (Cloud DataStore) Storage (Cloud Storage) SSR + SPA、オートスケーリング、たぶん完璧!!
ReactやってるならNext.jsもやった方がいい 公式ページみると感動するよ Next.js 最高!!! ZEIT 神!!! あと、Reactのお仕事ください! このLTで伝えたかったこと
E N D