Replies: 4 comments 5 replies
-
Help us move this issue forward. This issue is being marked stale since it has no activity after 15 days of requesting more information. Please add info requested so we can help move the issue forward. Note: The triage policy is to close stale issues that need more info and no response after 2 weeks. |
Beta Was this translation helpful? Give feedback.
-
I think this is a question and I will convert it to a discussion. |
Beta Was this translation helpful? Give feedback.
-
@t-hamano When I use jslint on the code, I get this:
for this part:
Do you have any idea how to prevent this? |
Beta Was this translation helpful? Give feedback.
-
I got the answer from stack exchange: A solution would be giving the properties you're returning a unique name:
|
Beta Was this translation helpful? Give feedback.
-
What problem does this address?
I currently refresh my server side rendered block by passing the current timestamp as an attribute. I do this when the post is saved to reload some data. That leads to the issue that the editor thinks that there is some changed content in the post. The changed attribute results in a changed post and triggers the message "Changes you made may not be saved." How can I force a reload of my SSR block without passing attributes and changing its contents? Is there another way?
What is your proposed solution?
A function to simply refresh the server response of a server side rendered block without setting a random attribute.
Beta Was this translation helpful? Give feedback.
All reactions