diff --git a/.changeset/eight-pigs-allow.md b/.changeset/eight-pigs-allow.md new file mode 100644 index 00000000..99587112 --- /dev/null +++ b/.changeset/eight-pigs-allow.md @@ -0,0 +1,5 @@ +--- +"frog": patch +--- + +Fixed an issue where initial state was derived but wasn't sent to the next frame handler. diff --git a/src/frog-base.tsx b/src/frog-base.tsx index 8f5381c2..52fba63e 100644 --- a/src/frog-base.tsx +++ b/src/frog-base.tsx @@ -573,6 +573,7 @@ export class FrogBase< const nextFrameStateSearch = toSearchParams({ initialPath: context.initialPath, previousButtonValues: buttonValues, + previousState, }) const nextFrameStateMeta = serializeJson({ initialPath: context.initialPath,