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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't use this in React Naive #9052

Open
ShininingLancer opened this Issue Nov 21, 2018 · 6 comments

Comments

Projects
None yet
5 participants
@ShininingLancer

ShininingLancer commented Nov 21, 2018

--------------^ Click "Preview" for a nicer view!
We primarily use GitHub as an issue tracker; for usage and support questions, please check out these resources below. Thanks! 馃榿.


@babel-bot

This comment has been minimized.

Collaborator

babel-bot commented Nov 21, 2018

Hey @ShininingLancer! We really appreciate you taking the time to report an issue. The collaborators
on this project attempt to help as many people as possible, but we're a limited number of volunteers,
so it's possible this won't be addressed swiftly.

If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack
community that typically always has someone willing to help. You can sign-up here
for an invite.

@ShininingLancer

This comment has been minimized.

ShininingLancer commented Nov 21, 2018

I am trying to use it in react native. but I couldn't. I created the project using react-native-cli.

@existentialism

This comment has been minimized.

Member

existentialism commented Nov 21, 2018

@ShininingLancer when you say you can't use it, could you provide more information? Is there an error? Can you provide a small repo that shows the problem?

@babel-bot

This comment has been minimized.

Collaborator

babel-bot commented Nov 21, 2018

Hi @ShininingLancer! A maintainer of the project has notified me that you're missing
some information we'll need to replicate this issue.

Please understand that we receive a high volume of issues, and there are only a limited number
of volunteers that help maintain this project. The easier it is for us to decipher an issue with the info provided,
the more likely it is that we'll be able to help.

Please make sure you have the following information documented in this ticket:

  1. Your Babel configuration (typically in the form of a .babelrc)
  2. The current (incorrect) behavior you're seeing
  3. The behavior you expect
  4. A short, self-contained example

Please provide either a link to the problem via the repl, or if the repl is insufficient,
a new and minimal repository with instructions on how to build/replicate the issue.

@ShininingLancer

This comment has been minimized.

ShininingLancer commented Nov 21, 2018

I just create new project using react-native-cli and
install the package.
my .babelrc is as follows:

{
  "presets": [
    "module:metro-react-native-babel-preset"
  ],
  "plugins": [
      "@babel/plugin-syntax-dynamic-import"
  ]
}

but when i try to import(variable), I am getting errors.

@Slapbox

This comment has been minimized.

Slapbox commented Nov 24, 2018

@ShininingLancer how can the maintainers possibly help if you don't take the time to include even the error text?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment