-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle prop types definitions #66
Comments
I managed to make it work. At least there is a PoC. I'm going to test it for a while on own projects and then publish. The first version won't support classes, but it's already useful so it makes sense to publish what we currently have. |
I recently added a fix to support iterations. On real project got an issue that in cases like this: each item in props.list
div(item.key) ...we didn't get |
Added in v0.8.0 |
I'm starting the development of integration with prop-types in react. Here I'm going to provide updates about the progress.
Idea
When we find pug template in the code we will look up to find out where it's located. For now we are interested in functions and classes.
We will check out propTypes definitions for those functions and classes and match them with what we use inside them.
Progress
Working branch: prop-types
Items in the checklists will be updated through the time.
The text was updated successfully, but these errors were encountered: