Comments (1)
key={id ?? 'hoge'}
って入れた結果がこちら↓
$ npm run dev
> [email protected] dev /Users/ozawa_shotaro/sandbox/nextjs-blog
> next dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info - Using webpack 4. Reason: custom webpack configuration in next.config.js https://nextjs.org/docs/messages/webpack5
event - compiled successfully
event - build page: /
wait - compiling...
event - build page: /404
Warning: TagsLayout: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)
at TagsLayout (webpack-internal:///./components/layout.tsx:122:20)
at li
at ul
at section
at main
at div
at Container (webpack-internal:///./components/layout.tsx:24:19)
at HomeLayout (webpack-internal:///./components/layout.tsx:55:20)
at HomePage (webpack-internal:///./pages/index.tsx:34:18)
at MyApp (webpack-internal:///./pages/_app.tsx:24:15)
at AppContainer (/Users/ozawa_shotaro/sandbox/nextjs-blog/node_modules/next/dist/next-server/server/render.js:28:950)
from nextjs-blog-from-scratch.
Related Issues (20)
- build時sitemapを作る
- Aboutページ作りたい HOT 1
- PostsのComponent分けよう
- Postに画像載せたい
- 投稿順が逆になってるくね? HOT 1
- PostのCreatedAtとUpdatedAtを分けたい
- posts/内を年/月別フォルダで分けたい
- 記事ごとにShareボタン配置したい
- RecentPostsの一覧の文字をもうちょい小さくしたい
- Code Snippetのtitle(ファイル名)欄のデザインを自然な形にしたい
- MDX導入したらメリット多いのでは…
- スマホで見るとサイト名がページによって左に寄ってる
- OGP改修
- API移管
- `[FQDN]/post`で見れる記事を最新6件目以降にしたい
- コンポーネントの責務を明確にする
- /tags/[tag].tsxで記事がヒットしない場合、そのページのデザインに合った404ページを描画したい HOT 2
- ESLintとPrettier入れる HOT 1
- header部分を記事以外の全ページ共通化したい
- 404ページ全部効かなくなってる
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextjs-blog-from-scratch.