Skip to content

Commit 4c9bfc0

Browse files
committed
Make a note about the statefulness of the serializer.
1 parent a0a035f commit 4c9bfc0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,6 @@ stringify.getSerialize(serializer, decycler)
4747

4848
Returns a serializer that can be used elsewhere. This is the actual
4949
function that's passed to JSON.stringify.
50+
51+
**Note** that the function returned from `getSerialize` is stateful for now, so
52+
do **not** use it more than once.

0 commit comments

Comments
 (0)