Skip to content

Commit ddaa77d

Browse files
docs: fix stackflow() destructuring in remaining plugin docs
Remove useFlow from stackflow() destructuring in plugin-basic-ui, plugin-devtools, plugin-google-analytics-4, plugin-renderer-basic, plugin-renderer-web, and plugin-stack-depth-change docs (EN + KO). StackflowOutput only contains { Stack, actions, stepActions } in v2. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 36eede2 commit ddaa77d

12 files changed

Lines changed: 12 additions & 12 deletions

docs/pages/api-references/plugins/plugin-basic-ui.en.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Provides components in the form of application app bars.
1717
import { stackflow } from "@stackflow/react";
1818
import { basicUIPlugin } from "@stackflow/plugin-basic-ui";
1919

20-
const { Stack, useFlow } = stackflow({
20+
const { Stack } = stackflow({
2121
// ...
2222
plugins: [
2323
// ...

docs/pages/api-references/plugins/plugin-basic-ui.ko.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ npm install @stackflow/plugin-basic-ui
1717
import { stackflow } from "@stackflow/react";
1818
import { basicUIPlugin } from "@stackflow/plugin-basic-ui";
1919

20-
const { Stack, useFlow } = stackflow({
20+
const { Stack } = stackflow({
2121
// ...
2222
plugins: [
2323
// ...

docs/pages/api-references/plugins/plugin-devtools.en.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ To utilize the plugin, integrate it within your Stackflow setup as shown:
1515
import { stackflow } from "@stackflow/react";
1616
import { devtoolsPlugin } from "@stackflow/plugin-devtools";
1717

18-
const { Stack, useFlow } = stackflow({
18+
const { Stack } = stackflow({
1919
activities: {
2020
// ...
2121
},

docs/pages/api-references/plugins/plugin-devtools.ko.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ npm install @stackflow/plugin-devtools
1414
import { stackflow } from "@stackflow/react";
1515
import { devtoolsPlugin } from "@stackflow/plugin-devtools";
1616

17-
const { Stack, useFlow } = stackflow({
17+
const { Stack } = stackflow({
1818
activities: {
1919
// ...
2020
},

docs/pages/api-references/plugins/plugin-google-analytics-4.en.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ npm install @stackflow/plugin-google-analytics-4
1717
import { stackflow } from "@stackflow/react";
1818
import { googleAnalyticsPlugin } from "@stackflow/plugin-google-analytics-4";
1919

20-
const { Stack, useFlow } = stackflow({
20+
const { Stack } = stackflow({
2121
activities: {
2222
// ...
2323
},

docs/pages/api-references/plugins/plugin-google-analytics-4.ko.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ npm install @stackflow/plugin-google-analytics-4
1717
import { stackflow } from "@stackflow/react";
1818
import { googleAnalyticsPlugin } from "@stackflow/plugin-google-analytics-4";
1919

20-
const { Stack, useFlow } = stackflow({
20+
const { Stack } = stackflow({
2121
activities: {
2222
// ...
2323
},

docs/pages/api-references/plugins/plugin-renderer-basic.en.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ npm install @stackflow/plugin-renderer-basic
1414
import { stackflow } from "@stackflow/react";
1515
import { basicRendererPlugin } from "@stackflow/plugin-renderer-basic";
1616

17-
const { Stack, useFlow } = stackflow({
17+
const { Stack } = stackflow({
1818
activities: {
1919
// ...
2020
},

docs/pages/api-references/plugins/plugin-renderer-basic.ko.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ npm install @stackflow/plugin-renderer-basic
1414
import { stackflow } from "@stackflow/react";
1515
import { basicRendererPlugin } from "@stackflow/plugin-renderer-basic";
1616

17-
const { Stack, useFlow } = stackflow({
17+
const { Stack } = stackflow({
1818
activities: {
1919
// ...
2020
},

docs/pages/api-references/plugins/plugin-renderer-web.en.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ npm install @stackflow/plugin-renderer-web
1414
import { stackflow } from "@stackflow/react";
1515
import { webRendererPlugin } from "@stackflow/plugin-renderer-web";
1616

17-
const { Stack, useFlow } = stackflow({
17+
const { Stack } = stackflow({
1818
activities: {
1919
// ...
2020
},

docs/pages/api-references/plugins/plugin-renderer-web.ko.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ npm install @stackflow/plugin-renderer-web
1414
import { stackflow } from "@stackflow/react";
1515
import { webRendererPlugin } from "@stackflow/plugin-renderer-web";
1616

17-
const { Stack, useFlow } = stackflow({
17+
const { Stack } = stackflow({
1818
activities: {
1919
// ...
2020
},

0 commit comments

Comments
 (0)