When an endpoint or syntax is already used as a contract (e.g., chart grammar shared across features, or a stateful editor URL), avoid creating parallel interfaces or polluting the contract with unrelated concerns.
Apply this as:
Example (clean stateful editor URL):
// Bad: pollutes a stateful URL used by the editor
const liveUrl =
'https://mermaid.live/edit?utm_source=mermaid_js&utm_medium=editor_selection&utm_campaign=open_source';
// Good: keep only the contract URL; send analytics separately
const liveUrl = 'https://mermaid.live/edit';
Enter the URL of a public GitHub repository