-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Graph Docs x Nextra #301
Conversation
"pnpm": { | ||
"overrides": { | ||
"@types/react": "^17.0.52" | ||
} | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we use react 18
const { frontmatter }: { frontmatter?: Frontmatter | ((locale: AppLocale) => Frontmatter) } = | ||
await import(`../pages/${fileToTry}`) | ||
let frontmatter: Frontmatter | ((locale: AppLocale) => Frontmatter) | ||
if (fileToTry.endsWith('.mdx')) { | ||
const { data } = grayMatter(await readFile(join(process.cwd(), 'pages', fileToTry), 'utf8')) | ||
frontmatter = data | ||
} else { | ||
const mod = await import(`../pages/${fileToTry}`) | ||
frontmatter = mod.frontmatter | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the temporal solution, after merging this PR I'll make refactoring to use Nextra's _meta.json
so this file will be completely removed
transform(content, { route }) { | ||
if (route) { | ||
return ` | ||
import { getNavItems } from '@/navigation' | ||
|
||
${content} | ||
|
||
export const getStaticProps = async () => { | ||
const navItems = await getNavItems('${route.split('/')[1]}') | ||
return { | ||
props: { navItems } | ||
} | ||
}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the temporal solution, once we'll use _meta.json
I'll remove it and we'll have the possibility that every page could have theirgetStaticProps
pageExtensions: ['tsx', 'mdx'], | ||
pageExtensions: ['tsx'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't need it because nextra already concat md
and mdx
extensions
"serialize-as-code": "^2.0.2", | ||
"unist-util-visit": "^4.1.2", | ||
"url": "^0.11.0" | ||
"gray-matter": "^4.0.3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
temporal dep for parsing frontmatter
a9fb017
to
da375f6
Compare
📦 Next.js Bundle AnalysisThis analysis was generated by the next.js bundle analysis action 🤖
|
Page | Size (compressed) |
---|---|
global |
1.39 MB (🟡 +61.46 KB) |
Details
The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.
Any third party scripts you have added directly to your app using the <script>
tag are not accounted for in this analysis
If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!
Three Hundred Twenty-five Pages Changed Size
The following pages changed size from the code in this PR compared to its base branch:
Page | Size (compressed) | First Load | % of Budget (350 KB ) |
---|---|---|---|
/[locale] |
2.08 KB |
1.39 MB | 406.22% (🟢 -15.92%) |
/[locale]/[...404] |
408 B |
1.39 MB | 405.74% (🟢 -14.87%) |
/_error |
185 B |
1.39 MB | 405.67% (+/- <0.01%) |
/ar/about |
8.97 KB |
1.4 MB | 408.18% (🟢 -14.27%) |
/ar/cookbook/arweave |
10.12 KB |
1.4 MB | 408.51% (🟢 -14.38%) |
/ar/cookbook/cosmos |
10.14 KB |
1.4 MB | 408.52% (🟢 -14.39%) |
/ar/cookbook/migrating-a-subgraph |
11.79 KB |
1.4 MB | 408.99% (🟢 -14.34%) |
/ar/cookbook/multisig |
8.09 KB |
1.39 MB | 407.93% (🟢 -14.38%) |
/ar/cookbook/near |
11.85 KB |
1.4 MB | 409.01% (🟢 -14.42%) |
/ar/cookbook/quick-start |
9.2 KB |
1.4 MB | 408.25% (🟢 -14.32%) |
/ar/cookbook/subgraph-debug-forking |
9.05 KB |
1.4 MB | 408.21% (🟢 -14.40%) |
/ar/deploying/deploying-a-subgraph-to-hosted |
11.02 KB |
1.4 MB | 408.77% (🟢 -14.40%) |
/ar/deploying/deploying-a-subgraph-to-studio |
7.87 KB |
1.39 MB | 407.87% (🟢 -14.32%) |
/ar/deploying/hosted-service |
8.01 KB |
1.39 MB | 407.91% (🟢 -14.39%) |
/ar/deploying/subgraph-studio |
11.59 KB |
1.4 MB | 408.93% (🟢 -14.27%) |
/ar/deploying/subgraph-studio-faqs |
7.05 KB |
1.39 MB | 407.64% (🟢 -14.40%) |
/ar/developing/assemblyscript-api |
18.27 KB |
1.4 MB | 410.84% (🟢 -14.45%) |
/ar/developing/creating-a-subgraph |
23.77 KB |
1.41 MB | 412.41% (🟢 -14.44%) |
/ar/developing/defining-a-subgraph |
7.14 KB |
1.39 MB | 407.66% (🟢 -14.29%) |
/ar/developing/developer-faqs |
11.81 KB |
1.4 MB | 409.00% (🟢 -14.43%) |
/ar/developing/unit-testing-framework |
16.02 KB |
1.4 MB | 410.20% (🟢 -14.26%) |
/ar/managing/deprecating-a-subgraph |
6.8 KB |
1.39 MB | 407.56% (🟢 -14.39%) |
/ar/managing/transferring-subgraph-ownership |
7.25 KB |
1.39 MB | 407.69% (🟢 -14.20%) |
/ar/network/curating |
12.09 KB |
1.4 MB | 409.08% (🟢 -14.18%) |
/ar/network/delegating |
10.39 KB |
1.4 MB | 408.59% (🟢 -14.29%) |
/ar/network/explorer |
15.43 KB |
1.4 MB | 410.03% (🟢 -13.57%) |
/ar/network/indexing |
22.14 KB |
1.41 MB | 411.95% (🟢 -14.36%) |
/ar/network/overview |
6.99 KB |
1.39 MB | 407.62% (🟢 -14.32%) |
/ar/publishing/publishing-a-subgraph |
6.89 KB |
1.39 MB | 407.59% (🟢 -14.40%) |
/ar/querying/billing |
8.59 KB |
1.39 MB | 408.07% (🟢 -14.31%) |
/ar/querying/distributed-systems |
8.92 KB |
1.4 MB | 408.17% (🟢 -14.40%) |
/ar/querying/graphql-api |
10.17 KB |
1.4 MB | 408.53% (🟢 -14.40%) |
/ar/querying/managing-api-keys |
6.95 KB |
1.39 MB | 407.61% (🟢 -14.40%) |
/ar/querying/querying-best-practices |
12.42 KB |
1.4 MB | 409.17% (🟢 -14.39%) |
/ar/querying/querying-from-an-application |
7.32 KB |
1.39 MB | 407.71% (🟢 -14.39%) |
/ar/querying/querying-the-graph |
7.31 KB |
1.39 MB | 407.71% (🟢 -14.30%) |
/ar/querying/querying-the-hosted-service |
6.98 KB |
1.39 MB | 407.62% (🟢 -14.29%) |
/ar/release-notes/assemblyscript-migration-guide |
13.06 KB |
1.4 MB | 409.35% (🟢 -14.40%) |
/en/about |
8.57 KB |
1.39 MB | 408.07% (🟢 -14.27%) |
/en/arbitrum-faq |
8.63 KB |
1.39 MB | 408.09% (🟢 -14.30%) |
/en/billing |
8.57 KB |
1.39 MB | 408.07% (🟢 -14.39%) |
/en/cookbook/arweave |
10.12 KB |
1.4 MB | 408.51% (🟢 -14.38%) |
/en/cookbook/base-testnet |
7.69 KB |
1.39 MB | 407.82% (🟢 -14.39%) |
/en/cookbook/cosmos |
10.14 KB |
1.4 MB | 408.52% (🟢 -14.39%) |
/en/cookbook/grafting |
9.24 KB |
1.4 MB | 408.26% (🟢 -14.39%) |
/en/cookbook/migrating-a-subgraph |
13.26 KB |
1.4 MB | 409.41% (🟢 -14.03%) |
/en/cookbook/near |
11.16 KB |
1.4 MB | 408.81% (🟢 -14.39%) |
/en/cookbook/quick-start |
8.79 KB |
1.39 MB | 408.13% (🟢 -14.31%) |
/en/cookbook/subgraph-debug-forking |
8.59 KB |
1.39 MB | 408.08% (🟢 -14.40%) |
/en/cookbook/subgraph-uncrashable |
7 KB |
1.39 MB | 407.62% (🟢 -14.39%) |
/en/deploying/deploying-a-subgraph-to-hosted |
10.79 KB |
1.4 MB | 408.71% (🟢 -14.40%) |
/en/deploying/deploying-a-subgraph-to-studio |
7.56 KB |
1.39 MB | 407.78% (🟢 -14.32%) |
/en/deploying/hosted-service |
7.61 KB |
1.39 MB | 407.80% (🟢 -14.40%) |
/en/deploying/subgraph-studio |
9.66 KB |
1.4 MB | 408.38% (🟢 -14.27%) |
/en/deploying/subgraph-studio-faqs |
6.89 KB |
1.39 MB | 407.59% (🟢 -14.39%) |
/en/developing/assemblyscript-api |
17.71 KB |
1.4 MB | 410.68% (🟢 -14.43%) |
/en/developing/creating-a-subgraph |
26.42 KB |
1.41 MB | 413.17% (🟢 -14.28%) |
/en/developing/developer-faqs |
10.93 KB |
1.4 MB | 408.75% (🟢 -14.38%) |
/en/developing/supported-networks |
7.17 KB |
1.39 MB | 407.67% (🟢 -14.39%) |
/en/developing/unit-testing-framework |
18.46 KB |
1.4 MB | 410.90% (🟢 -14.29%) |
/en/firehose |
6.16 KB |
1.39 MB | 407.38% (🟢 -14.40%) |
/en/glossary |
8.62 KB |
1.39 MB | 408.09% (🟢 -14.40%) |
/en/managing/deprecating-a-subgraph |
6.35 KB |
1.39 MB | 407.44% (🟢 -14.40%) |
/en/managing/transferring-subgraph-ownership |
7.26 KB |
1.39 MB | 407.70% (🟢 -14.21%) |
/en/mips-faqs |
9.94 KB |
1.4 MB | 408.46% (🟢 -14.39%) |
/en/network-transition-faq |
14.78 KB |
1.4 MB | 409.84% (🟢 -14.17%) |
/en/network/benefits |
8.1 KB |
1.39 MB | 407.93% (🟢 -14.39%) |
/en/network/curating |
11.32 KB |
1.4 MB | 408.85% (🟢 -14.17%) |
/en/network/delegating |
10.38 KB |
1.4 MB | 408.59% (🟢 -14.18%) |
/en/network/developing |
8.01 KB |
1.39 MB | 407.91% (🟢 -14.40%) |
/en/network/explorer |
14.5 KB |
1.4 MB | 409.76% (🟢 -13.53%) |
/en/network/indexing |
22.31 KB |
1.41 MB | 412.00% (🟢 -14.30%) |
/en/network/overview |
6.75 KB |
1.39 MB | 407.55% (🟢 -14.31%) |
/en/operating-graph-node |
16.09 KB |
1.4 MB | 410.22% (🟢 -14.38%) |
/en/publishing/publishing-a-subgraph |
7.27 KB |
1.39 MB | 407.70% (🟢 -14.31%) |
/en/querying/distributed-systems |
8.44 KB |
1.39 MB | 408.03% (🟢 -14.39%) |
/en/querying/graphql-api |
11.59 KB |
1.4 MB | 408.93% (🟢 -14.38%) |
/en/querying/managing-api-keys |
6.95 KB |
1.39 MB | 407.61% (🟢 -14.40%) |
/en/querying/querying-best-practices |
11.4 KB |
1.4 MB | 408.88% (🟢 -14.39%) |
/en/querying/querying-from-an-application |
8.81 KB |
1.4 MB | 408.14% (🟢 -14.40%) |
/en/querying/querying-the-graph |
7.03 KB |
1.39 MB | 407.63% (🟢 -14.31%) |
/en/querying/querying-the-hosted-service |
6.82 KB |
1.39 MB | 407.57% (🟢 -14.29%) |
/en/release-notes/assemblyscript-migration-guide |
11.97 KB |
1.4 MB | 409.04% (🟢 -14.39%) |
/en/substreams |
6.18 KB |
1.39 MB | 407.39% (🟢 -14.40%) |
/en/tokenomics |
10.58 KB |
1.4 MB | 408.64% (🟢 -14.13%) |
/es/about |
8.88 KB |
1.4 MB | 408.16% (🟢 -14.27%) |
/es/billing |
8.82 KB |
1.4 MB | 408.14% (🟢 -14.39%) |
/es/cookbook/arweave |
10.49 KB |
1.4 MB | 408.62% (🟢 -14.38%) |
/es/cookbook/cosmos |
10.14 KB |
1.4 MB | 408.52% (🟢 -14.39%) |
/es/cookbook/grafting |
9.54 KB |
1.4 MB | 408.35% (🟢 -14.39%) |
/es/cookbook/migrating-a-subgraph |
10.89 KB |
1.4 MB | 408.73% (🟢 -14.32%) |
/es/cookbook/multisig |
7.86 KB |
1.39 MB | 407.87% (🟢 -14.39%) |
/es/cookbook/near |
10.9 KB |
1.4 MB | 408.74% (🟢 -14.40%) |
/es/cookbook/quick-start |
9.01 KB |
1.4 MB | 408.20% (🟢 -14.32%) |
/es/cookbook/subgraph-debug-forking |
8.84 KB |
1.4 MB | 408.15% (🟢 -14.40%) |
/es/deploying/deploying-a-subgraph-to-hosted |
11.82 KB |
1.4 MB | 409.00% (🟢 -14.39%) |
/es/deploying/deploying-a-subgraph-to-studio |
7.72 KB |
1.39 MB | 407.83% (🟢 -14.32%) |
/es/deploying/hosted-service |
7.85 KB |
1.39 MB | 407.87% (🟢 -14.40%) |
/es/deploying/subgraph-studio |
9.95 KB |
1.4 MB | 408.46% (🟢 -14.27%) |
/es/deploying/subgraph-studio-faqs |
6.91 KB |
1.39 MB | 407.60% (🟢 -14.40%) |
/es/developing/assemblyscript-api |
18.04 KB |
1.4 MB | 410.78% (🟢 -14.43%) |
/es/developing/creating-a-subgraph |
23.1 KB |
1.41 MB | 412.22% (🟢 -14.39%) |
/es/developing/defining-a-subgraph |
7.01 KB |
1.39 MB | 407.62% (🟢 -14.29%) |
/es/developing/developer-faqs |
11.39 KB |
1.4 MB | 408.88% (🟢 -14.38%) |
/es/developing/unit-testing-framework |
15.77 KB |
1.4 MB | 410.13% (🟢 -14.25%) |
/es/managing/deprecating-a-subgraph |
6.38 KB |
1.39 MB | 407.45% (🟢 -14.40%) |
/es/managing/transferring-subgraph-ownership |
7.33 KB |
1.39 MB | 407.71% (🟢 -14.20%) |
/es/network-transition-faq |
15.67 KB |
1.4 MB | 410.10% (🟢 -14.17%) |
/es/network/curating |
11.95 KB |
1.4 MB | 409.04% (🟢 -14.18%) |
/es/network/delegating |
10.9 KB |
1.4 MB | 408.74% (🟢 -14.17%) |
/es/network/developing |
8.33 KB |
1.39 MB | 408.00% (🟢 -14.39%) |
/es/network/explorer |
15.26 KB |
1.4 MB | 409.98% (🟢 -13.53%) |
/es/network/indexing |
21.81 KB |
1.41 MB | 411.85% (🟢 -14.30%) |
/es/network/overview |
6.85 KB |
1.39 MB | 407.58% (🟢 -14.32%) |
/es/publishing/publishing-a-subgraph |
6.8 KB |
1.39 MB | 407.56% (🟢 -14.39%) |
/es/querying/billing |
8.32 KB |
1.39 MB | 408.00% (🟢 -14.32%) |
/es/querying/distributed-systems |
8.71 KB |
1.39 MB | 408.11% (🟢 -14.39%) |
/es/querying/graphql-api |
10.08 KB |
1.4 MB | 408.50% (🟢 -14.39%) |
/es/querying/managing-api-keys |
6.95 KB |
1.39 MB | 407.61% (🟢 -14.40%) |
/es/querying/querying-best-practices |
12.42 KB |
1.4 MB | 409.17% (🟢 -14.39%) |
/es/querying/querying-from-an-application |
7.14 KB |
1.39 MB | 407.66% (🟢 -14.39%) |
/es/querying/querying-the-graph |
7.16 KB |
1.39 MB | 407.67% (🟢 -14.31%) |
/es/querying/querying-the-hosted-service |
6.9 KB |
1.39 MB | 407.59% (🟢 -14.28%) |
/es/release-notes/assemblyscript-migration-guide |
12.56 KB |
1.4 MB | 409.21% (🟢 -14.39%) |
/es/substreams |
6.23 KB |
1.39 MB | 407.40% (🟢 -14.39%) |
/es/tokenomics |
10.85 KB |
1.4 MB | 408.72% (🟢 -14.13%) |
/fr/about |
9.17 KB |
1.4 MB | 408.24% (🟢 -14.27%) |
/fr/managing/deprecating-a-subgraph |
6.46 KB |
1.39 MB | 407.47% (🟢 -14.40%) |
/fr/managing/transferring-subgraph-ownership |
7.38 KB |
1.39 MB | 407.73% (🟢 -14.21%) |
/fr/publishing/publishing-a-subgraph |
6.87 KB |
1.39 MB | 407.58% (🟢 -14.39%) |
/fr/querying/querying-the-hosted-service |
6.92 KB |
1.39 MB | 407.60% (🟢 -14.29%) |
/fr/substreams |
6.26 KB |
1.39 MB | 407.41% (🟢 -14.39%) |
/ja/about |
9.12 KB |
1.4 MB | 408.23% (🟢 -14.26%) |
/ja/cookbook/arweave |
10.12 KB |
1.4 MB | 408.51% (🟢 -14.38%) |
/ja/cookbook/cosmos |
10.14 KB |
1.4 MB | 408.52% (🟢 -14.39%) |
/ja/cookbook/migrating-a-subgraph |
11.64 KB |
1.4 MB | 408.95% (🟢 -14.32%) |
/ja/cookbook/multisig |
8.13 KB |
1.39 MB | 407.95% (🟢 -14.39%) |
/ja/cookbook/near |
11.64 KB |
1.4 MB | 408.95% (🟢 -14.38%) |
/ja/cookbook/quick-start |
9.19 KB |
1.4 MB | 408.25% (🟢 -14.31%) |
/ja/cookbook/subgraph-debug-forking |
9.04 KB |
1.4 MB | 408.20% (🟢 -14.39%) |
/ja/deploying/deploying-a-subgraph-to-hosted |
11.15 KB |
1.4 MB | 408.81% (🟢 -14.39%) |
/ja/deploying/deploying-a-subgraph-to-studio |
7.88 KB |
1.39 MB | 407.87% (🟢 -14.31%) |
/ja/deploying/hosted-service |
8.12 KB |
1.39 MB | 407.94% (🟢 -14.39%) |
/ja/deploying/subgraph-studio |
11.46 KB |
1.4 MB | 408.90% (🟢 -14.26%) |
/ja/deploying/subgraph-studio-faqs |
6.81 KB |
1.39 MB | 407.57% (🟢 -14.39%) |
/ja/developing/assemblyscript-api |
18.18 KB |
1.4 MB | 410.82% (🟢 -14.39%) |
/ja/developing/creating-a-subgraph |
23.76 KB |
1.41 MB | 412.41% (🟢 -14.36%) |
/ja/developing/defining-a-subgraph |
7.21 KB |
1.39 MB | 407.68% (🟢 -14.28%) |
/ja/developing/developer-faqs |
11.24 KB |
1.4 MB | 408.83% (🟢 -14.30%) |
/ja/developing/unit-testing-framework |
16.11 KB |
1.4 MB | 410.22% (🟢 -14.25%) |
/ja/managing/deprecating-a-subgraph |
6.83 KB |
1.39 MB | 407.57% (🟢 -14.39%) |
/ja/managing/transferring-subgraph-ownership |
7.51 KB |
1.39 MB | 407.77% (🟢 -14.20%) |
/ja/network/curating |
12.27 KB |
1.4 MB | 409.13% (🟢 -14.15%) |
/ja/network/delegating |
10.59 KB |
1.4 MB | 408.65% (🟢 -14.28%) |
/ja/network/explorer |
15.27 KB |
1.4 MB | 409.98% (🟢 -13.48%) |
/ja/network/indexing |
22.04 KB |
1.41 MB | 411.92% (🟢 -14.29%) |
/ja/network/overview |
7.02 KB |
1.39 MB | 407.63% (🟢 -14.31%) |
/ja/publishing/publishing-a-subgraph |
6.91 KB |
1.39 MB | 407.59% (🟢 -14.39%) |
/ja/querying/billing |
8.55 KB |
1.39 MB | 408.06% (🟢 -14.31%) |
/ja/querying/distributed-systems |
9.06 KB |
1.4 MB | 408.21% (🟢 -14.40%) |
/ja/querying/graphql-api |
10.21 KB |
1.4 MB | 408.54% (🟢 -14.39%) |
/ja/querying/managing-api-keys |
6.95 KB |
1.39 MB | 407.61% (🟢 -14.40%) |
/ja/querying/querying-best-practices |
12.42 KB |
1.4 MB | 409.17% (🟢 -14.39%) |
/ja/querying/querying-from-an-application |
7.4 KB |
1.39 MB | 407.74% (🟢 -14.40%) |
/ja/querying/querying-the-graph |
7.33 KB |
1.39 MB | 407.72% (🟢 -14.30%) |
/ja/querying/querying-the-hosted-service |
7.04 KB |
1.39 MB | 407.63% (🟢 -14.28%) |
/ja/release-notes/assemblyscript-migration-guide |
12.94 KB |
1.4 MB | 409.32% (🟢 -14.38%) |
/ko/about |
9.11 KB |
1.4 MB | 408.22% (🟢 -14.25%) |
/ko/cookbook/arweave |
10.12 KB |
1.4 MB | 408.51% (🟢 -14.38%) |
/ko/cookbook/cosmos |
10.14 KB |
1.4 MB | 408.52% (🟢 -14.39%) |
/ko/cookbook/migrating-a-subgraph |
12.01 KB |
1.4 MB | 409.05% (🟢 -14.29%) |
/ko/cookbook/multisig |
8.05 KB |
1.39 MB | 407.92% (🟢 -14.38%) |
/ko/cookbook/near |
11.69 KB |
1.4 MB | 408.96% (🟢 -14.32%) |
/ko/cookbook/quick-start |
9.06 KB |
1.4 MB | 408.21% (🟢 -14.30%) |
/ko/cookbook/subgraph-debug-forking |
8.59 KB |
1.39 MB | 408.07% (🟢 -14.39%) |
/ko/deploying/deploying-a-subgraph-to-hosted |
11.03 KB |
1.4 MB | 408.77% (🟢 -14.38%) |
/ko/deploying/deploying-a-subgraph-to-studio |
7.82 KB |
1.39 MB | 407.86% (🟢 -14.32%) |
/ko/deploying/hosted-service |
8.09 KB |
1.39 MB | 407.93% (🟢 -14.38%) |
/ko/deploying/subgraph-studio |
11.31 KB |
1.4 MB | 408.85% (🟢 -14.24%) |
/ko/deploying/subgraph-studio-faqs |
7.13 KB |
1.39 MB | 407.66% (🟢 -14.37%) |
/ko/developing/assemblyscript-api |
18.26 KB |
1.4 MB | 410.84% (🟢 -14.37%) |
/ko/developing/creating-a-subgraph |
23.81 KB |
1.41 MB | 412.42% (🟢 -14.28%) |
/ko/developing/defining-a-subgraph |
7.16 KB |
1.39 MB | 407.67% (🟢 -14.29%) |
/ko/developing/developer-faqs |
11.7 KB |
1.4 MB | 408.96% (🟢 -14.18%) |
/ko/developing/unit-testing-framework |
16.08 KB |
1.4 MB | 410.22% (🟢 -14.25%) |
/ko/managing/deprecating-a-subgraph |
6.87 KB |
1.39 MB | 407.59% (🟢 -14.40%) |
/ko/managing/transferring-subgraph-ownership |
7.25 KB |
1.39 MB | 407.69% (🟢 -14.20%) |
/ko/network/curating |
12.53 KB |
1.4 MB | 409.20% (🟢 -14.12%) |
/ko/network/delegating |
10.82 KB |
1.4 MB | 408.71% (🟢 -14.25%) |
/ko/network/explorer |
15.45 KB |
1.4 MB | 410.04% (🟢 -13.54%) |
/ko/network/indexing |
22.56 KB |
1.41 MB | 412.07% (🟢 -14.19%) |
/ko/network/overview |
6.98 KB |
1.39 MB | 407.61% (🟢 -14.31%) |
/ko/publishing/publishing-a-subgraph |
6.84 KB |
1.39 MB | 407.58% (🟢 -14.39%) |
/ko/querying/billing |
8.52 KB |
1.39 MB | 408.06% (🟢 -14.31%) |
/ko/querying/distributed-systems |
8.89 KB |
1.4 MB | 408.16% (🟢 -14.39%) |
/ko/querying/graphql-api |
10.1 KB |
1.4 MB | 408.51% (🟢 -14.39%) |
/ko/querying/managing-api-keys |
6.95 KB |
1.39 MB | 407.61% (🟢 -14.40%) |
/ko/querying/querying-best-practices |
12.42 KB |
1.4 MB | 409.17% (🟢 -14.39%) |
/ko/querying/querying-from-an-application |
7.35 KB |
1.39 MB | 407.72% (🟢 -14.39%) |
/ko/querying/querying-the-graph |
7.3 KB |
1.39 MB | 407.71% (🟢 -14.30%) |
/ko/querying/querying-the-hosted-service |
7.03 KB |
1.39 MB | 407.63% (🟢 -14.28%) |
/ko/release-notes/assemblyscript-migration-guide |
13.11 KB |
1.4 MB | 409.37% (🟢 -14.37%) |
/ru/cookbook/arweave |
11.31 KB |
1.4 MB | 408.85% (🟢 -14.42%) |
/ru/cookbook/quick-start |
9.86 KB |
1.4 MB | 408.44% (🟢 -14.33%) |
/ru/cookbook/subgraph-debug-forking |
9.5 KB |
1.4 MB | 408.34% (🟢 -14.40%) |
/ru/cookbook/subgraph-uncrashable |
7.61 KB |
1.39 MB | 407.80% (🟢 -14.40%) |
/ru/deploying/hosted-service |
8.35 KB |
1.39 MB | 408.01% (🟢 -14.40%) |
/ru/firehose |
6.38 KB |
1.39 MB | 407.44% (🟢 -14.39%) |
/ru/tokenomics |
12.14 KB |
1.4 MB | 409.09% (🟢 -14.15%) |
/uk/network/benefits |
8.99 KB |
1.4 MB | 408.19% (🟢 -14.42%) |
/uk/network/curating |
13.24 KB |
1.4 MB | 409.40% (🟢 -14.17%) |
/uk/network/delegating |
11.85 KB |
1.4 MB | 409.01% (🟢 -14.20%) |
/uk/network/developing |
9.17 KB |
1.4 MB | 408.24% (🟢 -14.41%) |
/ur/about |
9.21 KB |
1.4 MB | 408.25% (🟢 -14.26%) |
/ur/billing |
9.39 KB |
1.4 MB | 408.31% (🟢 -14.40%) |
/ur/cookbook/arweave |
11.23 KB |
1.4 MB | 408.83% (🟢 -14.39%) |
/ur/cookbook/cosmos |
11.12 KB |
1.4 MB | 408.80% (🟢 -14.41%) |
/ur/cookbook/grafting |
10.02 KB |
1.4 MB | 408.49% (🟢 -14.40%) |
/ur/cookbook/migrating-a-subgraph |
14.8 KB |
1.4 MB | 409.85% (🟢 -14.03%) |
/ur/cookbook/near |
12.56 KB |
1.4 MB | 409.21% (🟢 -14.41%) |
/ur/cookbook/quick-start |
9.6 KB |
1.4 MB | 408.36% (🟢 -14.31%) |
/ur/cookbook/subgraph-debug-forking |
9.36 KB |
1.4 MB | 408.30% (🟢 -14.40%) |
/ur/deploying/deploying-a-subgraph-to-hosted |
12.61 KB |
1.4 MB | 409.23% (🟢 -14.40%) |
/ur/deploying/deploying-a-subgraph-to-studio |
8.18 KB |
1.39 MB | 407.96% (🟢 -14.32%) |
/ur/deploying/hosted-service |
8.15 KB |
1.39 MB | 407.95% (🟢 -14.40%) |
/ur/deploying/subgraph-studio |
10.62 KB |
1.4 MB | 408.66% (🟢 -14.28%) |
/ur/deploying/subgraph-studio-faqs |
7.26 KB |
1.39 MB | 407.70% (🟢 -14.40%) |
/ur/developing/assemblyscript-api |
19.8 KB |
1.41 MB | 411.28% (🟢 -14.46%) |
/ur/developing/creating-a-subgraph |
26.57 KB |
1.41 MB | 413.21% (🟢 -14.31%) |
/ur/developing/developer-faqs |
12.42 KB |
1.4 MB | 409.17% (🟢 -14.41%) |
/ur/developing/supported-networks |
7.05 KB |
1.39 MB | 407.64% (🟢 -14.40%) |
/ur/developing/unit-testing-framework |
20.55 KB |
1.41 MB | 411.49% (🟢 -14.37%) |
/ur/firehose |
6.39 KB |
1.39 MB | 407.45% (🟢 -14.40%) |
/ur/indexing/operating-graph-node |
18.28 KB |
1.4 MB | 410.84% (🟢 -14.40%) |
/ur/managing/deprecating-a-subgraph |
6.57 KB |
1.39 MB | 407.50% (🟢 -14.40%) |
/ur/managing/transferring-subgraph-ownership |
7.51 KB |
1.39 MB | 407.77% (🟢 -14.21%) |
/ur/network-transition-faq |
17.11 KB |
1.4 MB | 410.51% (🟢 -14.23%) |
/ur/network/benefits |
8.73 KB |
1.39 MB | 408.12% (🟢 -14.41%) |
/ur/network/curating |
12.63 KB |
1.4 MB | 409.23% (🟢 -14.17%) |
/ur/network/delegating |
11.21 KB |
1.4 MB | 408.83% (🟢 -14.26%) |
/ur/network/developing |
8.78 KB |
1.39 MB | 408.13% (🟢 -14.40%) |
/ur/network/explorer |
16.02 KB |
1.4 MB | 410.20% (🟢 -13.50%) |
/ur/network/indexing |
25.98 KB |
1.41 MB | 413.05% (🟢 -14.32%) |
/ur/network/overview |
7.03 KB |
1.39 MB | 407.63% (🟢 -14.31%) |
/ur/operating-graph-node |
18.26 KB |
1.4 MB | 410.84% (🟢 -14.40%) |
/ur/publishing/publishing-a-subgraph |
7.03 KB |
1.39 MB | 407.63% (🟢 -14.40%) |
/ur/querying/distributed-systems |
9.14 KB |
1.4 MB | 408.23% (🟢 -14.40%) |
/ur/querying/graphql-api |
12.11 KB |
1.4 MB | 409.08% (🟢 -14.39%) |
/ur/querying/managing-api-keys |
7.31 KB |
1.39 MB | 407.71% (🟢 -14.39%) |
/ur/querying/querying-best-practices |
12.7 KB |
1.4 MB | 409.25% (🟢 -14.40%) |
/ur/querying/querying-from-an-application |
9.42 KB |
1.4 MB | 408.31% (🟢 -14.39%) |
/ur/querying/querying-the-graph |
7.41 KB |
1.39 MB | 407.74% (🟢 -14.31%) |
/ur/querying/querying-the-hosted-service |
7.07 KB |
1.39 MB | 407.64% (🟢 -14.28%) |
/ur/release-notes/assemblyscript-migration-guide |
13.41 KB |
1.4 MB | 409.45% (🟢 -14.40%) |
/ur/substreams |
6.35 KB |
1.39 MB | 407.44% (🟢 -14.40%) |
/vi/about |
9.03 KB |
1.4 MB | 408.20% (🟢 -14.27%) |
/vi/cookbook/arweave |
10.12 KB |
1.4 MB | 408.51% (🟢 -14.38%) |
/vi/cookbook/cosmos |
10.14 KB |
1.4 MB | 408.52% (🟢 -14.39%) |
/vi/cookbook/migrating-a-subgraph |
10.9 KB |
1.4 MB | 408.74% (🟢 -14.33%) |
/vi/cookbook/multisig |
7.7 KB |
1.39 MB | 407.82% (🟢 -14.38%) |
/vi/cookbook/near |
10.96 KB |
1.4 MB | 408.75% (🟢 -14.38%) |
/vi/cookbook/quick-start |
9.08 KB |
1.4 MB | 408.22% (🟢 -14.32%) |
/vi/cookbook/subgraph-debug-forking |
8.59 KB |
1.39 MB | 408.07% (🟢 -14.39%) |
/vi/deploying/deploying-a-subgraph-to-hosted |
10.53 KB |
1.4 MB | 408.63% (🟢 -14.39%) |
/vi/deploying/deploying-a-subgraph-to-studio |
7.52 KB |
1.39 MB | 407.77% (🟢 -14.32%) |
/vi/deploying/hosted-service |
7.68 KB |
1.39 MB | 407.82% (🟢 -14.39%) |
/vi/deploying/subgraph-studio |
10.8 KB |
1.4 MB | 408.71% (🟢 -14.28%) |
/vi/deploying/subgraph-studio-faqs |
6.81 KB |
1.39 MB | 407.57% (🟢 -14.40%) |
/vi/developing/assemblyscript-api |
18.14 KB |
1.4 MB | 410.80% (🟢 -14.43%) |
/vi/developing/creating-a-subgraph |
23.69 KB |
1.41 MB | 412.39% (🟢 -14.38%) |
/vi/developing/defining-a-subgraph |
7.14 KB |
1.39 MB | 407.66% (🟢 -14.29%) |
/vi/developing/developer-faqs |
11.86 KB |
1.4 MB | 409.01% (🟢 -14.37%) |
/vi/developing/unit-testing-framework |
16 KB |
1.4 MB | 410.19% (🟢 -14.26%) |
/vi/managing/deprecating-a-subgraph |
6.82 KB |
1.39 MB | 407.57% (🟢 -14.40%) |
/vi/managing/transferring-subgraph-ownership |
7.26 KB |
1.39 MB | 407.69% (🟢 -14.20%) |
/vi/network/curating |
12.25 KB |
1.4 MB | 409.12% (🟢 -14.17%) |
/vi/network/delegating |
10.92 KB |
1.4 MB | 408.74% (🟢 -14.17%) |
/vi/network/explorer |
15.29 KB |
1.4 MB | 409.99% (🟢 -13.52%) |
/vi/network/indexing |
22.38 KB |
1.41 MB | 412.02% (🟢 -14.26%) |
/vi/network/overview |
6.96 KB |
1.39 MB | 407.61% (🟢 -14.31%) |
/vi/publishing/publishing-a-subgraph |
6.9 KB |
1.39 MB | 407.59% (🟢 -14.39%) |
/vi/querying/billing |
8.19 KB |
1.39 MB | 407.96% (🟢 -14.31%) |
/vi/querying/distributed-systems |
8.99 KB |
1.4 MB | 408.19% (🟢 -14.39%) |
/vi/querying/graphql-api |
10.06 KB |
1.4 MB | 408.50% (🟢 -14.40%) |
/vi/querying/managing-api-keys |
6.95 KB |
1.39 MB | 407.61% (🟢 -14.40%) |
/vi/querying/querying-best-practices |
12.42 KB |
1.4 MB | 409.17% (🟢 -14.39%) |
/vi/querying/querying-from-an-application |
7.29 KB |
1.39 MB | 407.70% (🟢 -14.39%) |
/vi/querying/querying-the-graph |
7.27 KB |
1.39 MB | 407.70% (🟢 -14.30%) |
/vi/querying/querying-the-hosted-service |
6.95 KB |
1.39 MB | 407.61% (🟢 -14.29%) |
/vi/release-notes/assemblyscript-migration-guide |
13 KB |
1.4 MB | 409.33% (🟢 -14.38%) |
/zh/about |
8.77 KB |
1.39 MB | 408.13% (🟢 -14.27%) |
/zh/cookbook/arweave |
10.12 KB |
1.4 MB | 408.51% (🟢 -14.38%) |
/zh/cookbook/cosmos |
10.14 KB |
1.4 MB | 408.52% (🟢 -14.39%) |
/zh/cookbook/migrating-a-subgraph |
11.24 KB |
1.4 MB | 408.83% (🟢 -14.31%) |
/zh/cookbook/multisig |
7.91 KB |
1.39 MB | 407.88% (🟢 -14.39%) |
/zh/cookbook/near |
11.27 KB |
1.4 MB | 408.84% (🟢 -14.36%) |
/zh/cookbook/quick-start |
9.02 KB |
1.4 MB | 408.20% (🟢 -14.30%) |
/zh/cookbook/subgraph-debug-forking |
8.91 KB |
1.4 MB | 408.17% (🟢 -14.39%) |
/zh/deploying/deploying-a-subgraph-to-hosted |
10.96 KB |
1.4 MB | 408.75% (🟢 -14.39%) |
/zh/deploying/deploying-a-subgraph-to-studio |
7.79 KB |
1.39 MB | 407.85% (🟢 -14.31%) |
/zh/deploying/hosted-service |
7.9 KB |
1.39 MB | 407.88% (🟢 -14.39%) |
/zh/deploying/subgraph-studio |
11.19 KB |
1.4 MB | 408.82% (🟢 -14.26%) |
/zh/deploying/subgraph-studio-faqs |
6.74 KB |
1.39 MB | 407.55% (🟢 -14.39%) |
/zh/developing/assemblyscript-api |
17.76 KB |
1.4 MB | 410.69% (🟢 -14.38%) |
/zh/developing/creating-a-subgraph |
23.02 KB |
1.41 MB | 412.20% (🟢 -14.36%) |
/zh/developing/defining-a-subgraph |
7.1 KB |
1.39 MB | 407.65% (🟢 -14.29%) |
/zh/developing/developer-faqs |
10.91 KB |
1.4 MB | 408.74% (🟢 -14.31%) |
/zh/developing/unit-testing-framework |
15.99 KB |
1.4 MB | 410.19% (🟢 -14.24%) |
/zh/managing/deprecating-a-subgraph |
6.78 KB |
1.39 MB | 407.56% (🟢 -14.40%) |
/zh/managing/transferring-subgraph-ownership |
7.25 KB |
1.39 MB | 407.69% (🟢 -14.20%) |
/zh/network/curating |
11.78 KB |
1.4 MB | 408.99% (🟢 -14.15%) |
/zh/network/delegating |
10.11 KB |
1.4 MB | 408.51% (🟢 -14.28%) |
/zh/network/explorer |
14.58 KB |
1.4 MB | 409.79% (🟢 -13.54%) |
/zh/network/indexing |
21.11 KB |
1.41 MB | 411.65% (🟢 -14.29%) |
/zh/network/overview |
6.92 KB |
1.39 MB | 407.60% (🟢 -14.32%) |
/zh/publishing/publishing-a-subgraph |
6.8 KB |
1.39 MB | 407.57% (🟢 -14.40%) |
/zh/querying/billing |
8.43 KB |
1.39 MB | 408.03% (🟢 -14.31%) |
/zh/querying/distributed-systems |
8.84 KB |
1.4 MB | 408.15% (🟢 -14.39%) |
/zh/querying/graphql-api |
9.83 KB |
1.4 MB | 408.43% (🟢 -14.39%) |
/zh/querying/managing-api-keys |
6.95 KB |
1.39 MB | 407.61% (🟢 -14.40%) |
/zh/querying/querying-best-practices |
12.42 KB |
1.4 MB | 409.17% (🟢 -14.39%) |
/zh/querying/querying-from-an-application |
7.29 KB |
1.39 MB | 407.70% (🟢 -14.39%) |
/zh/querying/querying-the-graph |
7.27 KB |
1.39 MB | 407.70% (🟢 -14.30%) |
/zh/querying/querying-the-hosted-service |
6.97 KB |
1.39 MB | 407.61% (🟢 -14.28%) |
/zh/release-notes/assemblyscript-migration-guide |
12.8 KB |
1.4 MB | 409.28% (🟢 -14.39%) |
Details
Only the gzipped size is provided here based on an expert tip.
First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link
is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.
Any third party scripts you have added directly to your app using the <script>
tag are not accounted for in this analysis
The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit confused. I'm trying to run this locally, but am getting an error after running pnpm install
and pnpm dev
:
next: command not found
@benface now the repository is a monorepo, run |
Thank you @B2o5T! This is really impressive work. I was expecting the diff to be a lot larger than this. I found a couple issues, so I made my own PR with your branch as a base to address them: #319. Please see the commit messages for explanations. I'm sure you'll find better ways to fix the issues I found, so feel free to work in my branch, merge it directly, or give me feedback. |
Thanks!
I didn't want to put too many things in simple PR, so I will continue on migration in the following PRs
|
Actually, for that one, I was planning on using our |
ok I'll leave it for you |
Co-authored-by: Dimitri POSTOLOV <[email protected]>
I'll rebase to main oncesaihaj/move-to-monorepo
will be mergedFollow up items
rehype-pretty-code
#310_meta.json
for nav #311