From 72dbaded7fed52c8cc43939c2600f8fc169be886 Mon Sep 17 00:00:00 2001 From: dalechyn Date: Wed, 24 Jul 2024 18:18:46 +0300 Subject: [PATCH] chore: changesets --- .changeset/twelve-rocks-push.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .changeset/twelve-rocks-push.md diff --git a/.changeset/twelve-rocks-push.md b/.changeset/twelve-rocks-push.md new file mode 100644 index 00000000..abcb9965 --- /dev/null +++ b/.changeset/twelve-rocks-push.md @@ -0,0 +1,8 @@ +--- +"frog": patch +--- + +Implemented a feature where `initialState` can be a callback receiving Hono's `Context`. + +This is particularly useful when dealing with path parameters to dynamically initiate state. +This state will also be accessible in `c.previousState` in the Image Handler.