Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better explain how the nodeKey function is related to WidgetKey #270

Conversation

RubenAstudillo
Copy link
Contributor

@RubenAstudillo RubenAstudillo commented May 2, 2023

Hello, this is a minor correction on the document 06-composite.md. It is a clarification between the relationship between WidgetKey, WidgetId and Path.

Changes

  • Specify that WidgetKey is the user facing key we attach to a node. Relate it to WidgetId and Path which are internal identifiers.
  • Say that the nodeKey function sets a custom WidgetKey that is stable between merges. This is apart from the other widgetKey related functions.

@fjvallarino fjvallarino merged commit 41830e9 into fjvallarino:main May 3, 2023
@fjvallarino
Copy link
Owner

@RubenAstudillo thank you!

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.

2 participants