question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove use of Proxy for events in development

See original GitHub issue

I think maybe we should revert https://github.com/facebook/react/pull/5947.

People already think proxyEvent is some kind of an API: https://github.com/facebook/react/issues/12169.

It’s also annoying to view in the debugger because none of the properties show up.

Instead, we could seal the event object or something like that.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
gaearoncommented, Feb 8, 2018

Can we rewrite the check to just verify the existing fields are not used when we take it from the pool? I just want to get rid of the proxy there. It’s annoying.

0reactions
gaearoncommented, Jul 17, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Remove use of Proxy for events in development #12171
Object.seal can seal the event object but in a non strict environment, adding extra properties doesn't warn anything, just ignoring it. It makes ......
Read more >
Proxy.revocable() - JavaScript - MDN Web Docs
The Proxy.revocable() static method creates a revocable Proxy object. ... creates a revoke function that can be called to disable the proxy.
Read more >
How to clear https proxy setting of NPM | Edureka Community
By running npm config rm proxy you remove proxy from user configuration. This can be easily verified by running: npm config list. If...
Read more >
Deleting an API proxy | Apigee X - Google Cloud
To delete an API proxy in the Apigee UI:​​ Sign in to the Apigee UI. Click API Proxies in the main view. Alternatively,...
Read more >
Reduce Dependency Proxy Storage - GitLab Docs
All cached dependency proxy files that have not been pulled in that many days are deleted. Use the GraphQL API to enable and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found