You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Next.js provides a variety of methods depending on your use case. You can use:
16
+
<ul>
17
+
<li> Client-side rendering: Fetch data with <a href="/docs/basic-features/data-fetching/client-side.md#client-side-data-fetching-with-useeffect">useEffect</a> or <a href="/docs/basic-features/data-fetching/client-side.md#client-side-data-fetching-with-swr">SWR</a> inside your React components</li>
18
+
<li> Server-side rendering with <a href="/docs/basic-features/data-fetching/get-server-side-props.md">getServerSideProps</a></li>
19
+
<li> Static-site generation with <a href="/docs/basic-features/data-fetching/get-static-props.md">getStaticProps</a></li>
20
+
<li> Incremental Static Regeneration by <a href="/docs/basic-features/data-fetching/incremental-static-regeneration.md">adding the `revalidate` prop to getStaticProps</a></li>
21
+
</ul>
22
+
To learn more about data fetching, visit our <ahref="/docs/basic-features/data-fetching/overview.md">data fetching documentation</a>.
29
23
</details>
30
24
31
25
<details>
32
-
<summary>なぜ新しいルーターなのですか?</summary>
26
+
<summary>なぜ Next.js は独自のルーターを持ってますか?</summary>
33
27
Next.js には以下の特徴があります:
34
28
<ul>
35
-
<li>ルーティングは事前に知られておく必要はなく、ルートマニフェストを送りません</li>
29
+
<li>It uses a file-system based router which reduces configuration</li>
30
+
<li>It supports shallow routing which allows you to change the URL without running data fetching methods</li>
36
31
<li>ルーティングは常に遅延読み込みが可能です</li>
37
32
</ul>
33
+
If you're migrating from React Router, see the <a href="/docs/migrating/from-react-router.md">migration documentation</a>.
<p>Yes! When you deploy your Next.js application to <ahref="https://vercel.com">Vercel</a>, your static assets are automatically detected and served by the Edge Network. If you self-host Next.js, you can learn how to manually configure the asset prefix <ahref="/docs/api-reference/next.config.js/cdn-support-with-asset-prefix.md">here</a>.</p>
<p>In most cases, no manual webpack configuration is necessary since Next.js automatically configures webpack. For advanced cases where more control is needed, refer to the <ahref="/docs/api-reference/next.config.js/custom-webpack-config.md">custom webpack config documentation</a>.</p>
63
65
</details>
64
66
65
67
<details>
66
-
<summary>何から影響を受けて開発されましたか?</summary>
68
+
<summary>Next.js は何から影響を受けましたか?</summary>
67
69
<p>私たちが設定した達成目標の多くは、 Guillermo Rauch の <ahref="https://rauchg.com/2014/7-principles-of-rich-web-applications">7 principles of Rich Web Applications</a> に記されているものです。</p>
68
70
69
71
<p>PHP の使いやすさから大きな影響を受けています。 HTML を出力するために PHP を使わなければならない多くの場合において、 Next.js は最適な代替手段になると思っています。</p>
0 commit comments