Felix Kling
Felix Kling
react-docgen doesn't implement any dependency resolution, so it doesn't know how to load `./AnyComponent` or even what it is. The problem is that we have a different module system at...
We could add a configuration option that lets you specify the module name(s) to validate against. Maybe we should add support for configuration files in the future if the configuration...
Well, the function returned by the module is not a React component. It's a function that returns a React component. Did you expect `Button` to be documented found by react-docgen?
I'd be happy about more heuristics :)
@pdfabbro: This doesn't seem to have anything to do with the original question. And it also doesn't seem to be an actual issue. If you are talking about `docGenTest`, then...
Do you have a suggestion for how we should represent destructured parameters in the JSON output?
That's because `Test` doesn't pass the heuristic used to determine whether a function is a React component or not. A quick workaround would be to use return {props.children}; @danez, any...
It seems to work fine on http://reactcommunity.org/react-docgen/ . Maybe styleguidist uses an older version?
> Would you consider this is as a bug? Good question, idk. Consistency in the output is certainly important. However would it feel strange if the path was using `/`...
Thinking about it more, I will have to check again if it is really a bug. It might also be that the `computed: true` field should indicate that `value` is...