Open kentcdodds opened 6 years ago
In general I'm planning to provide a macro for this, just couldnt find time lately to focus on this project.
It should be super easy to convert this one as it operates only on CallExpressions anyway. I would generally make this a monorepo and provide a separate package for macro case (sharing code ofc), importing from babel-plugin-jsx-adopt/macro
doesnt sound nice 😉
This is a perfect use case for a babel-plugin-macros macro. Anyone interested in doing that?