-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Interactivity API: Debug - Warning about Server Directives Processing errors. #60035
Comments
Really looking forward to this :) Currently, it is really hard to debug what's causing the server processing to fail. |
|
I just created a PR for it in wordpress-develop. |
Hi, |
It's being worked on, good bot. |
That seems to be resolved now. Is the anything left to do? |
I think everything is done. |
What problem does this address?
Right now, if there is an error during the server directives processing, there is no way to determine that the error occurred. There is only a layout shift (a brief screen flash) when loading the website, and if the developer has a fast connection or a fast local environment, it is really hard to notice.
What is your proposed solution?
If debugging is enabled, the client could send a console error if the source differs from the virtual DOM, or the server could send a PHP warning notice if the server directive processing is aborted (due to malformed HTML or unsupported tags).
The text was updated successfully, but these errors were encountered: