-
Notifications
You must be signed in to change notification settings - Fork 4
Convert to Babel plugin? #2
Comments
@bebraw interesting idea, I like it. I think the end user experience for implementation would be easier, but my question would be how you would opt in and out specific components? It'd be potentially overwhelming to have every single We're always open to PR's as well if anyone want's to give this a try. If anything we could offer both options 👍 |
@aweary First idea - agree on an annotation that's placed at the beginning of a file (lint style). |
I think that would be an interesting API, how would we handle components that have their own |
Two options:
|
I think that the lazy approach is the correct approach here. This tool can't tell you why a custom So in this case we should just overwrite the I'm not familiar with writing babel plugins, so this is open to anyone to give a shot. Otherwise I'll get to it eventually :) |
It might be cool to write a Babel transformation to use this. After that it's simple to setup although perhaps it matches too much then. Any thoughts?
The text was updated successfully, but these errors were encountered: