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.

[Docs] “Proxy” components don’t include proxied props in documentation

See original GitHub issue

Description

When looking at the documentation of a “Proxy” component (a component which “just” passes props to another one exploiting its functionalities) “inherited” proxied props are not listed.

Example

A clear example is MenuItem which looks like it doesn’t supports a disabled prop, while actually it does (since it comes from ListItem).

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
yuchicommented, Aug 31, 2017

Hold my beer™.

0reactions
oliviertassinaricommented, Aug 31, 2017

I believe having the list of props directly in place (along side the reference to the inherited component) would be easier to understand.

It was simpler to implement this way. For anyone else looking into this issue, here is an example.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common problems with reactivity · Issue #849 · vuejs/docs
Proxy -based reactivity supports far more operations than Vue 2's reactivity system but it still doesn't cover everything.
Read more >
Proxy - JavaScript - MDN Web Docs
The following terms are used when talking about the functionality of proxies. handler. The object passed as the second argument to the Proxy...
Read more >
Proxy and Reflect - The Modern JavaScript Tutorial
Proxy is a special “exotic object”. It doesn't have own properties. With an empty handler it transparently forwards operations to target .
Read more >
Reactivity Fundamentals - Vue.js
When you access this.someObject after assigning it, the value is a reactive proxy of the original newObject . Unlike in Vue 2, the...
Read more >
Gradle proxy configuration - Stack Overflow
In my build.gradle I have the following task, which uses the usual linux proxy settings, HTTP_PROXY and HTTPS_PROXY , from the shell env:...
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