Felix Kling

Results 187 comments of Felix Kling

Sorry for the late reply. Just to clarify, all your examples would work on objects that are not `React.PropTypes` and have arbitrary methods. E.g. ``` javascript static propTypes = {...

How would you resolve `a.very.long.member.access.chain`? Would you just look at the last property? Overall this looks very reasonable to me and I will gladly accept a PR for this :)...

Looking at the current implementation would be a good start: https://github.com/reactjs/react-docgen/blob/master/src/utils/getPropType.js

I'm also running into this issue. My use case is that I'm dynamically generating multiple components based on a shared template (which contains `` and ``), but each component has...

That sounds very good to me. jscodeshift already provides some way to get this information, via the [`stats` function](https://github.com/facebook/jscodeshift#api). I.e. you can call `stats('does not import a mixin')` in your...

I still think it's valuable to have both.