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
Console error in firefox related to use of non-standard global object, which doesn't even seem to be necessary. As far as I can tell, the Components global that ReactJS.NET has you set up when using webpack, doesn't seem to be using that particular global object for the functionality that seems to be deprecated. This is likely just side-effect of an arbitrary name.
Error: The Components object is deprecated. It will soon be removed.
Yeah it should still work fine but you’re right, we should update the
template and docs to use another name for the global. My maybe
ReactComponents. Feel free to PR...
On Thu, Apr 23, 2020 at 07:52, Justin Leatherwood ***@***.***> wrote:
Steps to reproduce Open ReactJS.Net project in firefox, look at the
console.
Console error in firefox related to use of non-standard global object,
which doesn't even seem to be necessary. As far as I can tell, the
Components global that ReactJS.NET has you set up, doesn't seem to be
using that particular global object for the functionality that seems to be
deprecated. This is likely just side-effect of an arbitrary name.
*Error:*
The Components object is deprecated. It will soon be removed.
*about it:*
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Language_Bindings/Components_object
I was able to suppress this error and have everything still work by
renaming the global components variable (e.g., MyComponents).
Unless I'm misunderstanding
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1101>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHGCFTFR53X423XKUHCXTLROBIZDANCNFSM4MPDYZIA>
.
Steps to reproduce
Open ReactJS.Net project using Webpack recommended setup in firefox, look at the console.
Console error in firefox related to use of non-standard global object, which doesn't even seem to be necessary. As far as I can tell, the
Components
global that ReactJS.NET has you set up when using webpack, doesn't seem to be using that particular global object for the functionality that seems to be deprecated. This is likely just side-effect of an arbitrary name.Error:
The Components object is deprecated. It will soon be removed.
about it:
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Language_Bindings/Components_object
I was able to suppress this error and have everything still work by renaming the global components variable (e.g.,
MyComponents
).Unless I'm misunderstanding, I would recommend updating examples/docs to not use this variable name specifically.
The text was updated successfully, but these errors were encountered: