Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-10692

Change React imports to "import * as React"

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2020-03-16
    • Component/s: Refactoring
    • Labels:
      None

      Description

      This is the correct way to do it according to React devs:

      https://github.com/facebook/react/commit/09348798a912c8682e57c35842aa7a007e13fdb9

      We currently use both options inconsistently, so this will also make our code more consistent.

        Attachments

          Activity

            People

            • Assignee:
              reosarevok Nicolás Tamargo
              Reporter:
              reosarevok Nicolás Tamargo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2020-03-16