I wasn't able to add lookup to the Object.prototype because I was getting this error with my CRA v3+CRACO setup...
"Invariant Violation: EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, lookup"
The stack trace was pure webpack hell, did not include it in my google search..
I tried adding it directly in my index.html in a script tag but that didn't fix it. I could, however, delay defining it for 5 seconds via setTimeout and I can then define Object.prototype.lookup
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I wasn't able to add lookup to the Object.prototype because I was getting this error with my CRA v3+CRACO setup...
"Invariant Violation: EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering,
lookup
"The stack trace was pure webpack hell, did not include it in my google search..
I tried adding it directly in my index.html in a script tag but that didn't fix it. I could, however, delay defining it for 5 seconds via setTimeout and I can then define Object.prototype.lookup