Skip to content

Commit 91d20dd

Browse files
committed
docs: add documentation for Configuration API, Hooks API, and Component Communication
1 parent a05bf09 commit 91d20dd

22 files changed

Lines changed: 1984 additions & 2 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import {type JSX} from "react";
2+
import {Shell} from "../../../src/components/shell/shell.js";
3+
import {BestPracticesScreen} from "../../../src/screens/advanced/best-practices-screen.js";
4+
5+
const Page = (): JSX.Element => (
6+
<Shell>
7+
<BestPracticesScreen />
8+
</Shell>
9+
);
10+
11+
export default Page;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import {type JSX} from "react";
2+
import {Shell} from "../../../src/components/shell/shell.js";
3+
import {FaqScreen} from "../../../src/screens/advanced/faq-screen.js";
4+
5+
const Page = (): JSX.Element => (
6+
<Shell>
7+
<FaqScreen />
8+
</Shell>
9+
);
10+
11+
export default Page;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import {type JSX} from "react";
2+
import {Shell} from "../../../src/components/shell/shell.js";
3+
import {MigrationScreen} from "../../../src/screens/advanced/migration-screen.js";
4+
5+
const Page = (): JSX.Element => (
6+
<Shell>
7+
<MigrationScreen />
8+
</Shell>
9+
);
10+
11+
export default Page;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import {redirect} from "next/navigation";
2+
3+
const AdvancedPage = () => redirect("/advanced/migration");
4+
5+
export default AdvancedPage;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import {type JSX} from "react";
2+
import {Shell} from "../../../src/components/shell/shell.js";
3+
import {ConfigApiScreen} from "../../../src/screens/api/config-api-screen.js";
4+
5+
const Page = (): JSX.Element => (
6+
<Shell>
7+
<ConfigApiScreen />
8+
</Shell>
9+
);
10+
11+
export default Page;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import {type JSX} from "react";
2+
import {Shell} from "../../../src/components/shell/shell.js";
3+
import {HooksApiScreen} from "../../../src/screens/api/hooks-api-screen.js";
4+
5+
const Page = (): JSX.Element => (
6+
<Shell>
7+
<HooksApiScreen />
8+
</Shell>
9+
);
10+
11+
export default Page;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import {type JSX} from "react";
2+
import {Shell} from "../../../src/components/shell/shell.js";
3+
import {ComponentCommunicationScreen} from "../../../src/screens/guides/component-communication-screen.js";
4+
5+
const Page = (): JSX.Element => (
6+
<Shell>
7+
<ComponentCommunicationScreen />
8+
</Shell>
9+
);
10+
11+
export default Page;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import {type JSX} from "react";
2+
import {Shell} from "../../../src/components/shell/shell.js";
3+
import {DependencyInjectionScreen} from "../../../src/screens/guides/dependency-injection-screen.js";
4+
5+
const Page = (): JSX.Element => (
6+
<Shell>
7+
<DependencyInjectionScreen />
8+
</Shell>
9+
);
10+
11+
export default Page;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import {type JSX} from "react";
2+
import {Shell} from "../../../src/components/shell/shell.js";
3+
import {LifecycleScreen} from "../../../src/screens/guides/lifecycle-screen.js";
4+
5+
const Page = (): JSX.Element => (
6+
<Shell>
7+
<LifecycleScreen />
8+
</Shell>
9+
);
10+
11+
export default Page;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import {type JSX} from "react";
2+
import {Shell} from "../../../src/components/shell/shell.js";
3+
import {PropsScreen} from "../../../src/screens/guides/props-screen.js";
4+
5+
const Page = (): JSX.Element => (
6+
<Shell>
7+
<PropsScreen />
8+
</Shell>
9+
);
10+
11+
export default Page;

0 commit comments

Comments
 (0)