Skip to content
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

Should the babel plugin support the first argument being a variable? #12

Open
rohan-deshpande opened this issue Apr 15, 2020 · 0 comments
Labels
question Further information is requested

Comments

@rohan-deshpande
Copy link
Collaborator

rohan-deshpande commented Apr 15, 2020

If an import is done like so

const myImport = () => import('./my-component');
const MyComponent = lazyForPaint(myImport);

The babel plugin will currently not function as intended. Unsure if we want to support this or not.

@rohan-deshpande rohan-deshpande changed the title Babel plugin will fail if first argument is a variable Should the babel plugin support the first argument being a variable? Apr 15, 2020
@rohan-deshpande rohan-deshpande added the question Further information is requested label Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant