You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have several WSGI plugins in our Buildbot configuration that have a JS script section. At least two of these plugins are showstoppers for a version update, if they do not work.
When configuring these plugins(one of which is an implementation of #4082) for React in 3.11 the script section is not parsed, and cannot be executed.
I asked one of my colleagues to debug, and the verdict was that React load the source of the App as innerhtml and that prevents JS execution in script tags.
The only available method my colleague is aware of to get this working is to use componentDidMount, but AFAICT there is no way to use that with the react WSGI dashboard component.
I see that buildbot have a smokes-react test app with a similar layout of the HTML file, so assuming it really works, I am unable to figure out why that should be working, and why mine isn't (and I did notice that there were changes made in the directory post-3.11, and I can't figure out how it can possibly work after those changes).
The text was updated successfully, but these errors were encountered:
We have several WSGI plugins in our Buildbot configuration that have a JS script section. At least two of these plugins are showstoppers for a version update, if they do not work.
When configuring these plugins(one of which is an implementation of #4082) for React in 3.11 the script section is not parsed, and cannot be executed.
I asked one of my colleagues to debug, and the verdict was that React load the source of the App as innerhtml and that prevents JS execution in script tags.
The only available method my colleague is aware of to get this working is to use componentDidMount, but AFAICT there is no way to use that with the react WSGI dashboard component.
I see that buildbot have a smokes-react test app with a similar layout of the HTML file, so assuming it really works, I am unable to figure out why that should be working, and why mine isn't (and I did notice that there were changes made in the directory post-3.11, and I can't figure out how it can possibly work after those changes).
The text was updated successfully, but these errors were encountered: