-
Notifications
You must be signed in to change notification settings - Fork 17
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
Export named React
members
#4
Comments
Just to confirm intent here, this would make it possible to do: import React, { useState } from 'https://unpkg.com/es-react@16.8.60/src/react.js' Which is common practice but currently not possible with this build, right? |
Yep, exactly! |
Ok cool, well that make sense! I'm happy for the next release to be architected like this 👍I only just noticed that |
Hey @ryan-roemer I have implemented this here #5. If you could confirm that this is what you were after then I can merge and publish. |
A lot of libraries use named exports from React. And IIRC we have to manually enumerate those. I've got a temp shim looking like this that might be a useful starting point (would be nice to automate this maybe like
react-ecmascript
project does...)The text was updated successfully, but these errors were encountered: