Skip to content

docs(editor): globals binds are relative - #914

Merged
lancesnider merged 1 commit into
mainfrom
globals-are-relative
Sep 1, 2026
Merged

docs(editor): globals binds are relative#914
lancesnider merged 1 commit into
mainfrom
globals-are-relative

Conversation

@lancesnider

Copy link
Copy Markdown
Collaborator

Documenting something that @pedroalpera resported here: https://2dimensions.slack.com/archives/C07MPAN5FDE/p1785742997402369

Globals use relative binding, which can result in naming conflicts.

@lancesnider
lancesnider requested a review from a team as a code owner September 1, 2026 11:22
@mintlify

mintlify Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
rive 🟢 Ready View Preview Sep 1, 2026, 11:25 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Clarifies how global view model bindings resolve and warns about property-name conflicts.

Changes:

  • Documents that global bindings are relative.
  • Explains how closer properties take precedence.
  • Cross-links the relevant documentation sections.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
editor/data-binding/view-models.mdx Explains global binding resolution and conflicts.
editor/data-binding/binding-data.mdx Expands relative binding behavior and notes the global binding rule.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@HayesGordon HayesGordon changed the title docs(editor): globals bindds are relative docs(editor): globals binds are relative Sep 1, 2026

@bodymovin bodymovin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lancesnider
lancesnider merged commit ec02d0b into main Sep 1, 2026
3 checks passed
@lancesnider
lancesnider deleted the globals-are-relative branch September 1, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants