Open
Description
Package Scope
@use-funnel/core
Description
I want the id
parameter on useFunnel to be optional, and I want the URL to remain as ?step=stepName
without the id.
prefix.
Currently, the id
parameter is required, and it appears in the URL as ?id.step=stepName
My goal is to simplify this by skipping the id. and just using step as the name of the searchParams.
I’m only using one useFunnel hook on the page, so having just step in the URL should work fine for me.
Can you guys consider this feature?
const funnel = useFunnel<{ A: {}; b: {} }>({
// id: '', <--- I want id parameter to be optional!! and remains in th url ?step=A
initial: { step: 'A', context: {} },
});
Possible Solution
No response
etc.
No response
Metadata
Metadata
Assignees
Labels
No labels