Skip to content

Commit 82a4073

Browse files
authored
docs: Update noSerialize() tutorial (#1102)
1 parent bfeced4 commit 82a4073

File tree

1 file changed

+3
-1
lines changed
  • packages/docs/src/routes/tutorial/store/no-serialize

1 file changed

+3
-1
lines changed

packages/docs/src/routes/tutorial/store/no-serialize/index.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ Stores must always be serializable, however sometimes you may to want persist a
66

77
When the application is paused, non-serializable properties are discarded.
88

9-
> **Your task**: Add a cleanup function in `store.cleanup` so that the `stop` button can clear the interval.
9+
> **Your task**: Add a cleanup function in `store.cleanup` so that the `stop` button can clear the interval with `clearInterval()`.
10+
> for that, add `noSerialize` import from '@builder.io/qwik' and use `noSerialize` function to wrap clearInterval function;
11+
`

0 commit comments

Comments
 (0)