サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
世界禁煙デー
sergiodxa.com
Dependency Injection is a way our function or class can receieve from the caller the instancies of some dependencies the function/class have Let's say we have a function that sent a query to a DB, we could import directly the DB connection object and send the query, or we could receive the DB connection object as an argument if it follows a specific interface our function expects. interface DBConn
To get a report on Web Vitals while using Next.js create a pages/_app.js, if you don't already have one, and add the following line: export function reportWebVitals(metric) { console.log(metric); } Next.js will automatically start to keep track of multiple metrics and give you back a report per metric, you can see it running in pokedex-swr.now.sh. The metrics we can track include: Time to First By
このページを最初にブックマークしてみませんか?
『Sergio Xalambrí』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く