Skip to content

Document how to upgrade react-scripts after creating an app #119

Closed

Description

@keyz

Also, can we add a version checking that prompts users to upgrade their react-scripts dependency when there's a new version? :)

Activity

  1. dolchi21 commented on Jul 23, 2016

    @dolchi21

    would editing the package.json dep and installing do it? (always checking for compatibility errors)

  2. keyz commented on Jul 23, 2016

    @keyz
    ContributorAuthor

    Yeah, I think editing package.json or npm update will do it but it hasn't been documented. Just posting here to see if we want something more than that.

  3. lacker commented on Jul 23, 2016

    @lacker
    Contributor

    Imagine if every npm module you installed, also prompted you to upgrade it when there's a new version. That would be pretty annoying. ;-) For a lot of people, there's actually no reason to upgrade react-scripts - if you're on an older, more-stable version, and you're happy with it, then just keep being happy with it. We also might release a breaking change in react-scripts at some point and then an automated message that encourages people to update would be counterproductive.

  4. mxstbr commented on Jul 23, 2016

    @mxstbr
    Contributor

    Totally agree with @lacker.

    We've had this discussion quite a few times over at react-boilerplate – whatever version you use will work perfectly fine, there's no need to upgrade!

  5. gaearon commented on Jul 23, 2016

    @gaearon
    Contributor

    We actually should document that so reopening.
    But I agree we shouldn’t ask people to update.

  6. ForbesLindesay commented on Jul 25, 2016

    @ForbesLindesay
    Contributor

    This is also a little different to react-boilerplate. Updating a boilerplate doesn't really make sense/is a nightmare to do. On the other hand we plan for most updates to react-scripts to be backwards compatible, but there could be performance enhancements and new features. For this reason I think we should suggest that people may want to upgrade.

    I probably don't think we should prompt people to upgrade though, just suggest that they do in the documentation.

  7. insin commented on Jul 25, 2016

    @insin
    Contributor

    If they're not running npm out --depth=0 on a regular basis, they don't deserve your sweet new features 😸

  8. added a commit that references this issue on Aug 22, 2016
    43dfc48
  9. cesarvarela commented on May 31, 2017

    @cesarvarela
    Contributor

    i need a feature that is on 1.0.0 and my react-scripts are in 0.9.5 how do I update them?

  10. gaearon commented on May 31, 2017

    @gaearon
    Contributor

    You can find the instructions in release notes, as always.
    https://github.com/facebookincubator/create-react-app/releases/tag/v1.0.0

  11. simonw commented on Apr 30, 2018

    @simonw

    I'm seeing this warning on a project I created using create-react-app:

    2018-04-30 at 12 49 pm

    Official documentation on how to upgrade would be really useful.

  12. Timer commented on Apr 30, 2018

    @Timer
    Contributor

    Documentation on how to upgrade is on every release.

    https://github.com/facebook/create-react-app/releases

  13. locked and limited conversation to collaborators on Apr 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions