Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

Suggestion: yarn start should be included as a start script #1111

Closed

Description

With RN, I always only use yarn start to start the metro bundler, and go to XCode and go to Product / Perform Action / Run without building. This saves 1-2 minutes of build time that yarn run:ios does.

You should include a normal yarn start script by default (generated by using create-xp-app), to make it more familiar to RN devs switching to RN-XP :)

I guess yarn run rn-cli start is the same, but still..

Activity

  1. mikehardy commented on Jun 26, 2019

    @mikehardy
    Contributor

    I’m not sure this should be recommended, it’s an optimization but for me anyway it breaks ios9 (which must have a bundle in place / cannot use the dev server) if it were enabled by default. For people that want performance you should set the environment variable SKIP_BUNDLING to achieve the performance boost while still maintaining a “works everywhere” default stance react/react-native#14731

  2. erictraut commented on Jun 26, 2019

    @erictraut
    Contributor

    You're welcome to create any scripts you'd like within your own projects. I don't think it makes sense to add this to the reactxp sample apps.

  3. kg-currenxie commented on Jun 27, 2019

    @kg-currenxie
    ContributorAuthor

    Didn't know it broke ios9 :D And haven't seen SKIP_BUNDLING before. Thanks guys.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions