Skip to content

Conversation

@abigailalexander
Copy link
Collaborator

In order to allow updating Embedded Displays without reloading the entire application, I've added an optional refresh boolean property to Embedded Display. When this is true and passed in, it triggers a refetch of the embedded file. By default. Embedded Display caches the file fetches and reuses the same file contents whenever props are updated, so this property is needed to force a refetch in cases where the filepath is the same, but the file content may have changed.

This property is optional so no Embedded Display widgets in clients need to be updated, and if no refresh property is passed in the behaviour remains the same as previously.

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