first commit
Some checks failed
Test examples / Test Examples (20) (push) Has been cancelled
Test examples / Test Examples (22) (push) Has been cancelled
Lock Threads / action (push) Has been cancelled
Trigger Release / start (push) Has been cancelled
Stale issue handler / stale (push) Has been cancelled
Update Font Data / create-pull-request (push) Has been cancelled
build-and-deploy / deploy-target (push) Has been cancelled
build-and-deploy / build (push) Has been cancelled
build-and-deploy / stable - aarch64-unknown-linux-musl - node@16 (push) Has been cancelled
build-and-deploy / stable - x86_64-unknown-linux-musl - node@16 (push) Has been cancelled
build-and-deploy / stable - aarch64-unknown-linux-gnu - node@16 (push) Has been cancelled
build-and-deploy / stable - x86_64-unknown-linux-gnu - node@16 (push) Has been cancelled
build-and-deploy / stable - aarch64-pc-windows-msvc - node@16 (push) Has been cancelled
build-and-deploy / stable - x86_64-pc-windows-msvc - node@16 (push) Has been cancelled
build-and-deploy / stable - aarch64-apple-darwin - node@16 (push) Has been cancelled
build-and-deploy / stable - x86_64-apple-darwin - node@16 (push) Has been cancelled
build-and-deploy / build-wasm (nodejs) (push) Has been cancelled
build-and-deploy / build-wasm (web) (push) Has been cancelled
build-and-deploy / Deploy preview tarball (push) Has been cancelled
build-and-deploy / Potentially publish release (push) Has been cancelled
build-and-deploy / publish-turbopack-npm-packages (push) Has been cancelled
build-and-deploy / Deploy examples (push) Has been cancelled
build-and-deploy / thank you, build (push) Has been cancelled
build-and-deploy / Upload Turbopack Bytesize metrics to Datadog (push) Has been cancelled
Rspack Next.js development integration tests / Rspack integration tests (push) Has been cancelled
Rspack Next.js production integration tests / Rspack integration tests (push) Has been cancelled
Turbopack Next.js development integration tests / Next.js integration tests (push) Has been cancelled
Turbopack Next.js production integration tests / Next.js integration tests (push) Has been cancelled
Update Rspack test manifest / Update and upload Rspack development test manifest (push) Has been cancelled
Update Rspack test manifest / Update and upload Rspack production test manifest (push) Has been cancelled
Upload bundler test manifests to areweturboyet.com / Upload test results (push) Has been cancelled
Update React / create-pull-request (push) Has been cancelled
test-e2e-project-reset-cron / reset-test-project (push) Has been cancelled
Notify about the top 15 issues/PRs/feature requests (most reacted) in the last 90 days / run (push) Has been cancelled

This commit is contained in:
Arian Tron
2026-03-10 19:37:31 +03:30
commit 61f56f997c
27684 changed files with 2784175 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
'use client'
import dynamic from 'next/dynamic'
const Component = dynamic(async () => () => <p>hello dynamic world</p>, {
ssr: false,
})
export default function Page() {
return (
<>
<Component />
</>
)
}

View File

@@ -0,0 +1,7 @@
'use client'
// export function getServerSideProps() { { props: {} } }
export default function Page() {
return 'client-gssp'
}

View File

@@ -0,0 +1,7 @@
'use client'
// export function getStaticProps() { return { props: {} }}
export default function Page() {
return 'client-gsp'
}

View File

@@ -0,0 +1,9 @@
'use client'
export default function Page() {
return 'client-metadata'
}
// export const metadata = { title: 'client-metadata' }
// export async function generateMetadata() { return { title: 'client-metadata' } }

View File

@@ -0,0 +1,7 @@
'use client'
import ServerOnly from './server-only-lib'
export default function page() {
return <ServerOnly />
}

View File

@@ -0,0 +1,5 @@
// import 'server-only'
export default function ServerOnlyLib() {
return 'server-only-lib'
}

View File

@@ -0,0 +1,4 @@
// import { useState } from 'react'
export default function Component() {
return <div>Component</div>
}

View File

@@ -0,0 +1,5 @@
import Component from './component'
export default function Page() {
return <Component />
}

View File

@@ -0,0 +1,8 @@
export default function RootLayout({ children }) {
return (
<html>
<head></head>
<body>{children}</body>
</html>
)
}

View File

@@ -0,0 +1,11 @@
export default function page(props) {
return <p>mutate</p>
}
export async function generateMetadata(props, parent) {
const parentMetadata = await parent
return {
...parentMetadata,
}
}

View File

@@ -0,0 +1,5 @@
// import { Component } from 'react'
export default function Page() {
return null
}

View File

@@ -0,0 +1,5 @@
// import 'client-only'
export default function ClientOnlyLib() {
return 'client-only-lib'
}

View File

@@ -0,0 +1,5 @@
import ClientOnly from './client-only-lib'
export default function page() {
return <ClientOnly />
}

View File

@@ -0,0 +1,3 @@
'use client'
export default function Error() {}

View File

@@ -0,0 +1,3 @@
export default function Page() {
return <p>Hello world</p>
}

View File

@@ -0,0 +1,7 @@
export default function Page() {
return 'server-metadata'
}
export const metadata = { title: 'server-metadata' }
// export async function generateMetadata() { return { title: 'server-metadata' } }

View File

@@ -0,0 +1,8 @@
'use client'
import { cacheLife } from 'next/cache'
console.log({ cacheLife })
export default function Page() {
return null
}

View File

@@ -0,0 +1,8 @@
'use client'
import { cacheTag } from 'next/cache'
console.log({ cacheTag })
export default function Page() {
return null
}

View File

@@ -0,0 +1,8 @@
'use client'
import { revalidatePath } from 'next/cache'
console.log({ revalidatePath })
export default function Page() {
return null
}

View File

@@ -0,0 +1,8 @@
'use client'
import { revalidateTag } from 'next/cache'
console.log({ revalidateTag })
export default function Page() {
return null
}

View File

@@ -0,0 +1,8 @@
'use client'
import { unstable_cache } from 'next/cache'
console.log({ unstable_cache })
export default function Page() {
return null
}

View File

@@ -0,0 +1,8 @@
'use client'
import { unstable_noStore } from 'next/cache'
console.log({ unstable_noStore })
export default function Page() {
return null
}

View File

@@ -0,0 +1,10 @@
'use client'
// This currently bypasses the compile time import checks from `react_server_components.rs`,
// but we should still catch it during import resolution.
const { whatever } = await import('next/root-params')
console.log({ whatever })
export default function Page() {
return null
}

View File

@@ -0,0 +1,8 @@
'use client'
import { whatever } from 'next/root-params'
console.log({ whatever })
export default function Page() {
return null
}

View File

@@ -0,0 +1,5 @@
import { whatever } from 'next/root-params'
export default async function Page() {
return <>{await whatever()}</>
}

View File

@@ -0,0 +1,3 @@
export function Page() {
return <p>Page</p>
}

View File

@@ -0,0 +1,7 @@
import { Component } from 'react'
console.log({ Component })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { createContext } from 'react'
console.log({ createContext })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { createFactory } from 'react'
console.log({ createFactory })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { PureComponent } from 'react'
console.log({ PureComponent })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { useActionState } from 'react'
console.log({ useActionState })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { useDeferredValue } from 'react'
console.log({ useDeferredValue })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { useEffect } from 'react'
console.log({ useEffect })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { useEffectEvent } from 'react'
console.log({ useEffectEvent })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { useImperativeHandle } from 'react'
console.log({ useImperativeHandle })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { useInsertionEffect } from 'react'
console.log({ useInsertionEffect })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { useLayoutEffect } from 'react'
console.log({ useLayoutEffect })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { useOptimistic } from 'react'
console.log({ useOptimistic })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { useReducer } from 'react'
console.log({ useReducer })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { useRef } from 'react'
console.log({ useRef })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { useState } from 'react'
console.log({ useState })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { useSyncExternalStore } from 'react'
console.log({ useSyncExternalStore })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { useTransition } from 'react'
console.log({ useTransition })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { flushSync } from 'react-dom'
console.log({ flushSync })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { unstable_batchedUpdates } from 'react-dom'
console.log({ unstable_batchedUpdates })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { useFormState } from 'react-dom'
console.log({ useFormState })
export default function Page() {
return null
}

View File

@@ -0,0 +1,7 @@
import { useFormStatus } from 'react-dom'
console.log({ useFormStatus })
export default function Page() {
return null
}

View File

@@ -0,0 +1,5 @@
import { Comp2 } from './comp2'
export function Comp1() {
return <Comp2 />
}

View File

@@ -0,0 +1,11 @@
export function Comp2() {
return (
<div>
<style jsx>{`
p {
color: red;
}
`}</style>
</div>
)
}

View File

@@ -0,0 +1,6 @@
'use client'
import { Comp1 } from './comp1'
export default function Page() {
return <Comp1 />
}

View File

@@ -0,0 +1,8 @@
// eslint-disable-next-line no-unused-vars
import React from 'react'
// 'use client'
export default function Page() {
return 'hello'
}