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

Change React imports to "import * as React"

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2020-03-16
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved:

                Version Package
                2020-03-16