Skip to content

If you name your app with hyphens react-native will create a broken project by default #213

Description

@easternbloc

If you do something like:

react-native init my-native-app

React will create a project scaffold for you but the resulting javascript file will fail to load.

So you will get something like:

var my-native-app = React.createClass({

In your index.ios.js file.

Not a huge problem but it should probably remove hyphens the hyphens non the less.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions