zuka-e / next-firebase

0 stars 0 forks source link

Next.js 導入 (概念理解) #1

Open zuka-e opened 2 years ago

zuka-e commented 2 years ago

概要

Create React App で作成したアプリをNext.jsで再構成し、表示速度の向上などを図る。 初めにNext.jsの特徴や利点の理解を進める。

zuka-e commented 2 years ago

主要機能概要

Zero Config

SSG (Static Site Generation)

ページ表示に必要なデータを事前に取得しHTMLを生成する。

ISR (Incremental Static Regeneration)

指定時間経過後にページの再生成を行う。

Dynamic Routes

Routing: Dynamic Routes | Next.js

Built-in Components

Head

Router

Routing: Introduction | Next.js

Image

  • Improved Performance: Always serve correctly sized image for each device, using modern image formats.
  • Visual Stability: Prevent Cumulative Layout Shift automatically.
  • Faster Page Loads: Images are only loaded when they enter the viewport, with optional blur-up placeholders
  • Asset Flexibility: On-demand image resizing, even for images stored on remote servers

    Basic Features: Image Optimization | Next.js

移行方法

参考

主要Examples