Recommended app responsibilities
- Own the product page, checkout routing, analytics policy, and visual design.
- Render every public state you can receive.
- Call only the actions exposed by the current
JourneyView. - Keep grants and session values out of third-party logs.
What to avoid
- Do not infer private routing or enforcement decisions from the state.
- Do not assume a state transition order that is not represented by
JourneyView. - Do not show buttons for actions that are not present in the current state.